A retraining project to get familiar with various technologies.
git clone https://github.com/ITA-Dnipro/Dp-Retraining-Python.git
You can manually create and put env variables inside .env file in each folder where .env.example file is present.
Use command to setup .env files with default development variables
make env_setup
- Run command to build and start docker-compose
make up
- Run command to stop docker-compose
make down
- To remove docker components use commands:
- To remove all docker containers
make remove_all_containers
- To remove all docker images
make remove_all_images
- To remove all docker volumes
make remove_all_volumes
- (!) To remove all docker containers AND images AND volumes (!)
make remove_everything
- Run command to build and start docker-compose
docker-compose -f ${PWD}/docker-compose.yml up --build -d
- Run command to start already created docker-compose
docker-compose -f ${PWD}/docker-compose.yml -d start
- Run command to stop docker-compose
docker-compose -f ${PWD}/docker-compose.yml down
- Use command to run all tests
make run_tests
- Use command to create .coverage file
make coverage
- Use command to create folder with html report
make coverage_html_report