3 ms·
We've moved to Docker Compose for local Python (Django) development. Oftentimes when you need package management (pip) and multiple environments (virtualenv) y
by actionscripted 11y ago
We've moved to Docker Compose for local Python (Django) development.
Oftentimes when you need package management (pip) and multiple environments (virtualenv) you likely also have several services necessary for your projects (Python, Postgres, Nginx, Celery, et al.) and it can be easier for your team to run `docker-compose up` and have the whole stack running in lieu of setting up services manually and then initializing a virtual environment.
I much prefer taking the time to setup Docker Compose even for a simple project. I don't have to initialize a virtual environment, install packages, make sure the DB is running, sync with the DB, run the web server, etc. All of that work becomes automatic and I can focus on development instead sysadmin stuff.