Generic python project template to get you started utilizing docker containers.
Predefined containers include:
- Python
- MongoDB
- PostgreSQL
- RabbitMQ
- MySQL
- phpMyAdmin
makeThis installs any dependencies and fires up all containers
make testDiscovers any testfile matching test*.py
make coverageHTML coverage report will be dumped to ./htmlcov
Remember to use coverage before committing so the build will not fail after pushing!
make lintmake install_pre_commitmake shelldocker-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