27 lines
No EOL
471 B
Makefile
27 lines
No EOL
471 B
Makefile
|
|
init:
|
|
python3 -m venv env
|
|
. ./env/bin/activate
|
|
pip3 install -r requirements.txt
|
|
|
|
up:
|
|
docker-compose -f compose.authentik.yml up -d
|
|
docker-compose -f compose.wekan.yml up -d
|
|
|
|
down:
|
|
docker-compose -f compose.authentik.yml down -v
|
|
docker-compose -f compose.wekan.yml down -v
|
|
|
|
run:
|
|
./env/bin/uvicorn app.main:app --reload --host 0.0.0.0
|
|
|
|
run integration:
|
|
./env/bin/uvicorn app.main:app --reload --host 0.0.0.0
|
|
|
|
test:
|
|
./env/bin/pytest app
|
|
|
|
|
|
|
|
|
|
.PHONY: init run test |