musicdlp/Makefile

17 lines
306 B
Makefile

.PHONY: run run-backend run-frontend test
run:
# See backend/config.py for more fields
HOST=127.0.0.1 PORT=4009 \
COOKIES_DIR=cookies \
python3 ./backend/main.py
run-backend: run
run-frontend:
@echo 'Only for development environment!'
caddy run
test:
python3 -m unittest discover -vcs ./backend