make prod
make prod-stop
make prod-restart
make prod-new
make dev
make dev-stop
make dev-restart
make dev-new
make test
make test-stop
make test-restart
make appdb-dump-schema
make appdb-dump-data
make dump-database
For local development copying sample is enough:
cp .env.sample .env
Docker Compose file: docker-compose.yml
Docker files:
Command:
docker-compose up -d --build
Docker Compose file: docker-compose.dev.yml
Docker files:
Command:
docker-compose -f docker-compose.dev.yml up -d --build
Docker Compose file: docker-compose.test.yml
Docker files:
Command (rebuild is important):
docker-compose -f docker-compose.test.yml up -d --build
Available tests:
docker exec iss-test-back ./manage.py test
docker exec iss-test-storage python3 src/test.py
docker exec iss-test-front npm test
docker exec iss-tests python3 test.py
docker exec iss-tests flake8
docker exec iss-test-front npm run lint
docker exec iss-test-front npm run compile