musicdlp/Makefile

17 lines
306 B
Makefile
Raw Normal View History

2024-05-28 10:34:01 +04:00
.PHONY: run run-backend run-frontend test
2024-04-28 13:06:34 +04:00
run:
# See backend/config.py for more fields
HOST=127.0.0.1 PORT=4009 \
COOKIES_DIR=cookies \
python3 ./backend/main.py
2024-04-28 13:06:34 +04:00
2024-05-28 10:34:01 +04:00
run-backend: run
2024-04-28 13:06:34 +04:00
2024-05-28 10:34:01 +04:00
run-frontend:
@echo 'Only for development environment!'
caddy run
2024-04-28 13:06:34 +04:00
2024-05-28 10:34:01 +04:00
test:
python3 -m unittest discover -vcs ./backend