Update deployment on Heroku to run migrations - refs #1646

This commit is contained in:
Bruno Alla 2018-05-14 08:39:46 +01:00
parent c3baadd8c7
commit 105f18efd0

View File

@ -33,6 +33,7 @@ Run these commands to deploy the project to Heroku:
heroku config:set PYTHONHASHSEED=random heroku config:set PYTHONHASHSEED=random
git push heroku master git push heroku master
heroku run python manage.py migrate
heroku run python manage.py check --deploy heroku run python manage.py check --deploy
heroku run python manage.py createsuperuser heroku run python manage.py createsuperuser
heroku open heroku open