experimenter/Makefile

36 строки
737 B
Makefile
Исходник Обычный вид История

2017-04-11 22:45:02 +03:00
secretkey:
openssl rand -hex 24
2017-02-07 00:00:47 +03:00
build:
2016-11-09 23:06:28 +03:00
./scripts/build.sh
compose_build: build
docker-compose build
up: compose_build
docker-compose up
test: compose_build
2017-02-07 00:00:47 +03:00
docker-compose run app sh -c "/app/bin/wait-for-it.sh db:5432;coverage run manage.py test;coverage report -m --fail-under=100"
2016-11-09 23:06:28 +03:00
lint: compose_build
docker-compose run app flake8 .
check: compose_build lint test
echo "Success"
migrate: compose_build
docker-compose run app python manage.py migrate
shell: compose_build
docker-compose run app python manage.py shell
2017-04-27 21:42:17 +03:00
dbshell: compose_build
docker-compose run app python manage.py dbshell
bash: compose_build
docker-compose run app bash
2017-04-27 21:42:17 +03:00
kill:
docker ps -a -q | xargs docker kill;docker ps -a -q | xargs docker rm