19 lines
354 B
Makefile
19 lines
354 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
|
|
|
|
clean:
|
|
rm -rf backend/__pycache__ .ruff_cache
|