DEV Community

Discussion on: Deploy Django web application

Collapse
 
highcenburg profile image
Vicente G. Reyes • Edited

Awesome tutorial, Ousseynou! I would suggest on the Procfile that instead of placing this

web: gunicorn my-application.wsgi --log-file -

Do this so you won't have to run migrations after it gets deployed

release: python manage.py migrate
web: gunicorn my-application.wsgi:application

I hope this helps!

Collapse
 
xarala221 profile image
Ousseynou Diop

Thank you, very helpful!