This is a proof of concept for easily setting up dockerized dev environments for common web application architectures. The goal is to be able to fork/clone this repo and then use it to start your new django project.
- python3
- Docker
Docker must be running. The scripts assume the docker and docker-compose commands are available in your PATH.
Getting setup requires you to do an initial build of the docker image. Clone this repo and then setup your django project within it as you normally would. Once you've done that, I've tried to include a few simple scripts to get going.
> bin/build
> bin/db_migrate
> docker-compose up
To update dependencies:
- Update
requirements.txt - Run
bin/update_deps - Update
Dockerfile - Run
bin/build