Closed ehmatthes closed 3 years ago
Areas to simplify:
AUTOCONFIGURE_ALL
, and put all of this code in that block for now.git push heroku master
not fail, then work through details, ie db. #4ALLOWED_HOSTS
. #6DISABLE_COLLECTSTATIC=1
while working on other aspects of deployment.End goal is only these steps need to be done:
heroku create
AUTO_CONFIGURE
.ALLOWED_HOSTS = ['*']
for now, should be changed to heroku host. Set to .herokuapp.com
, good enough for now. #6Try it with a demo project.
This issue is finished for now, for initial demonstration purposes. But I'll leave this one open, because if this goes anywhere it still contains some next steps.
All of this has been addressed, or documented elsewhere.
Heroku is much easier for beginning Django developers to deploy to than a VPS such as Digital Ocean or Linode. But there's still a fair bit of configuration that has to be done between having a project that runs on your local machine and one that runs on Heroku.
This project aims to simplify the deployment process as much as possible, while doing things, as much as possible, in a standardized Heroku way. The process should be easy to override as people learn more about custom deployments.