phasm-platform/Makefile
Johan B.W. de Vries 2063a6ea9c Worker, run_once
2023-04-10 13:11:16 +02:00

27 lines
636 B
Makefile

run-controller: sast
venv/bin/python -m phasmplatform.controller
run-worker: sast
venv/bin/python -m phasmplatform.worker
redis-sh:
docker compose exec -it redis redis-cli
setup:
python3.10 -m venv venv
venv/bin/pip install --upgrade pip wheel setuptools
venv/bin/pip install -r requirements.txt -r requirements-dev.txt
init:
docker compose up -d
update:
venv/bin/pip install -r requirements.txt -r requirements-dev.txt
sast:
venv/bin/mypy --strict phasmplatform
venv/bin/pyflakes phasmplatform
venv/bin/pycodestyle --max-line-length=140 phasmplatform
.PHONY: init redis-sh run-controller run-worker setup sast update