]> apps.delaporte.us Git - matrix-cadbury.git/blob - Makefile
Restart service after update
[matrix-cadbury.git] / Makefile
1 .PHONY: serve update
2
3 .venv: pyproject.toml
4 python -m venv .venv
5 .venv/bin/pip install .
6
7 serve: .venv
8 .venv/bin/python app.py
9
10 setup:
11 .venv/bin/invoke goals.setup
12 .venv/bin/invoke chores.setup
13 .venv/bin/invoke shop.setup
14
15 clean:
16 rm -rf .venv
17 rm -f session.txt # Reset session
18
19 update: clean .venv
20 systemctl --user restart cadbury