-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 543 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 543 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
env:
uv venv
rmenv:
rm -rf .venv
install: install-prod
install-dev:
uv sync --all-extras
install-prod:
uv sync --all-extras --no-dev
run: run-dev
run-dev:
uv run launcher.py
run-prod:
uv run hypercorn --bind 0.0.0.0:17568 launcher:app
run-prod-ssl:
uv run hypercorn --bind 0.0.0.0:17568 --certfile cert.pem --keyfile key.pem launcher:app
format:
ruff check --fix .
ruff format .
clean:
rm -f logs/*.log
.PHONY: env rmenv install install-dev install-prod run run-dev run-prod run-prod-ssl format clean
.DEFAULT_GOAL := run