datamade / cookiecutter-django-app

0 stars 0 forks source link

Refine deployment process #9

Open xmedr opened 6 days ago

xmedr commented 6 days ago

Recently used this cookiecutter to deploy an app to heroku, and here are some findings for things to consider or sections to adjust:

More may come as I finish the heroku deployment.

hancush commented 3 days ago

Probably also a good idea to add a note to the usage section indicating that the cookiecutter output should be added to GitHub as one initial commit to main and triggering the publish package job via the Actions UI so the image that the tests and deployments depend on is created! Also making the package public (because our Heroku approach doesn't support building from private images).

xmedr commented 3 days ago

Agreed, sounds good. Some more things to adjust:

hancush commented 3 days ago

Oh yeah, for Wagtail, ALLOWED_HOSTS also needs to include localhost:8000 for previews to work when editing pages.