From 9ab325c438abd7738cf15699a4501167c44f8954 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 23 Jul 2022 11:30:10 +0200 Subject: [PATCH] Docker - update commands --- Makefile | 2 +- docker/lint-python.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c6aac8ee..004ce6a4 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ docker-build-all: docker-build docker-build-client docker-build-client: docker-compose -f docker-compose-dev.yml build fittrackee_client -docker-init: docker-init-db docker-restart docker-run-workers +docker-init: docker-run docker-init-db docker-restart docker-run-workers docker-init-db: docker-compose -f docker-compose-dev.yml exec fittrackee docker/init-database.sh diff --git a/docker/lint-python.sh b/docker/lint-python.sh index 7643ba2b..b2425d53 100755 --- a/docker/lint-python.sh +++ b/docker/lint-python.sh @@ -4,4 +4,5 @@ cd /usr/src/app source .env +mypy fittrackee pytest --flake8 --isort --black -m "flake8 or isort or black" fittrackee e2e --ignore=fittrackee/migrations \ No newline at end of file