Open timwis opened 7 years ago
Looks like the directory structure is fine for development, but an app like dj-static will be needed to serve the assets from the STATIC_ROOT
on Heroku (or any other environment where DEBUG
is False
).
Another option is whitenoise. See https://devcenter.heroku.com/articles/django-assets#whitenoise for a tl;dr.
Hey @yzang @jchu2 any advice?
It appears there are 2 django directories:
capstone
andCapstoneDashboard
. The application is run fromCapstoneDashboard
but the static files are incapstone/static/
. As a result, the application cannot load the css or javascript files.