-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Staticfiles on Heroku #673
Labels
Comments
jnga
added a commit
that referenced
this issue
Jan 24, 2018
Update according to Heroku article: https://devcenter.heroku.com/articles/django-app-configuration#static-assets-and-file-serving
jnga
added a commit
that referenced
this issue
Jan 24, 2018
This is to try and debug why the Dev server no longer could find any static files (say, CSS) after the last deployment.
jnga
added a commit
that referenced
this issue
Jan 24, 2018
jnga
added a commit
that referenced
this issue
Jan 24, 2018
The issue shows a message that talks about not setting STATIC_ROOT to a filesystem directory, and how that is the cause of a problem. The current configuration appears, by setting its path to an empty string, to have /static/ appear at the root of the app directory. So, this change attempts to keep that as it is, but express it differently by specifying the current directory instead.
jnga
added a commit
that referenced
this issue
Jan 24, 2018
jnga
added a commit
that referenced
this issue
Jan 24, 2018
…g to Dev. (see #673) The bug was an error message, apparently triggered by the bump of the Python runtime clearing things out and reinstalling. Bug: psycopg/psycopg2#489
The changes associated with this issue today were an attempt to debug a problem in Dev, now opened as Issue #681. It apparently does not to have to do with static files. The changes are minor but will be included in Release 2.8 (likely in 2.8.2). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deploying to Heroku fails due to collectstatic stack dumping. Research how to configure STATIC_ROOT for production on Heroku.
https://devcenter.heroku.com/articles/django-app-configuration#static-assets-and-file-serving
The text was updated successfully, but these errors were encountered: