ehmatthes / heroku-buildpack-python

A demonstration version of the official Heroku buildpack for Python apps, showing how Django deployment can be further simplified.
https://ehmatthes.com/blog/simplified_heroku/
MIT License
16 stars 2 forks source link

Automate initial migration? #11

Open ehmatthes opened 3 years ago

ehmatthes commented 3 years ago

Most projects, on initial deployment, will call migrate. If there's a way to tell that this is an initial deployment, does it make sense to call python manage.py migrate? This reduces the number of steps, and means you can just run heroku open right after pushing.