10 ms·
Nice article, I feel like I learned a lot of these lessons over the last 1.5 years. Here's a Django/Vue.js project that I have been working on that uses 11 cont
by misterbrian 7y ago
Nice article, I feel like I learned a lot of these lessons over the last 1.5 years. Here's a Django/Vue.js project that I have been working on that uses 11 containers for local development (postgres, redis, redis-commander, nginx, node, django, channels, celery, beat, flower and mailhog). I think the weirdest things I have to do for the development environment are all related to hot-reloading, which involves tweaked versions of container start scripts. I run an environment similar to this one daily for work and for some other side projects.
https://gitlab.com/verbose-equals-true/django-postgres-vue-gitlab-ecs https://gitlab.com/verbose-equals-true/django-postgres-vue-g...
The readme for this project addresses some of the issues that you might have with integration testing. I use GitLab CI and I'm able to take advantage of GitLab runner to simulate my CI environment in containers that run on my local machine.
I explored a few different ways of running integration tests in my development environment, one using docker-compose with docker in docker, and another method using services in GitLab CI. I learned a lot from https://gitlab.com/gitlab-org/gitter/webapp https://gitlab.com/gitlab-org/gitter/webapp.
- misterbrian 7y agoI have only used this development environment Ubuntu, I don't know how well it would work on Mac, but I would be curious to try it on Mac and Windows