-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release was still failing because `python manage.py migrate` came before gunicorn in the procfile and manage.py was using local settings
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 1,2 @@ | ||
release: python manage.py migrate | ||
web: gunicorn --env DJANGO_SETTINGS_MODULE=ImageQ.settings.production ImageQ.wsgi --log-file - --log-level debug | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
deven96
via email
Author
Member
|
||
web: gunicorn ImageQ.wsgi --log-file - --log-level debug |
@deven96 why was the --env variable unset?.
Setting this args ensures that regardless of the settings used in manage.py the gunicorn runs with the settings above