Files
static-site-hosting/Makefile
T
2025-02-16 16:38:34 -05:00

18 lines
216 B
Makefile

all: run
run:
nohup .venv/bin/python app.py > output.log 2>&1 & echo $! > app.pid
stop:
kill -9 $(cat app.pid) || true
rm -f app.pid
restart: stop run
logs:
tail -f output.log
clean: stop
rm -f output.log