datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
87 stars 12 forks source link

Initialize containerized Django app template #71

Closed jeancochrane closed 4 years ago

jeancochrane commented 4 years ago

Overview

Initialize containerized Django app template with support for Heroku, ES6, and the new docker-entrypoint.sh approach to running migrations.

Connects #62, #56, #22

Notes

With two templates in the docker/templates repo, I was finding it difficult to maintain the existing Cookiecutter setup using plain Docker without Docker Compose. Because of this, I went ahead and refactored the templates repo to use a Compose environment. One downside of this is that users will now have to generate a Python (non-Django) repo from the docker/templates repo, instead of directly in the repo that needs the new configs. I think this is clearer and easier anyway, but it's a major interface change, so I'm curious to hear thoughts.

Testing Instructions