Generic python project template to get you started utilizing docker containers.
Predefined containers include:
- Python
- MongoDB
- PostgreSQL
- RabbitMQ
- MySQL
- phpMyAdmin
make
This installs any dependencies and fires up all containers
make test
Discovers any testfile matching test*.py
make coverage
HTML coverage report will be dumped to ./htmlcov
Remember to use coverage before committing so the build will not fail after pushing!
make lint
make install_pre_commit
make shell
docker-compose run --rm py <your command>
For example if you want to use this template to start working in an other repository.
git archive master | tar -x -C /somewhere/else