integrate/Makefile

31 lines
556 B
Makefile
Raw Normal View History

2022-03-02 16:22:11 +01:00
init:
python3 -m venv env
. ./env/bin/activate
pip3 install -r requirements.txt
2022-04-22 18:34:48 +02:00
up:
2022-04-29 14:13:54 +02:00
docker context use default
2022-04-22 18:34:48 +02:00
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
2022-03-02 16:22:11 +01:00
run:
2022-03-04 18:51:33 +01:00
./env/bin/uvicorn app.main:app --reload --host 0.0.0.0
2022-03-02 16:22:11 +01:00
2022-03-06 12:31:12 +01:00
2022-03-02 16:22:11 +01:00
test:
2022-04-29 14:13:54 +02:00
./env/bin/pytest app
2022-03-03 16:36:08 +01:00
2022-04-29 14:13:54 +02:00
integration:
./env/bin/uvicorn app.main:app --reload --host 0.0.0.0
2022-04-22 18:34:48 +02:00
2022-04-29 14:13:54 +02:00
requirements:
./env/bin/pip freeze -l > requirements.txt
2022-04-22 18:34:48 +02:00
2022-04-29 14:13:54 +02:00
.PHONY: init run test