Skip to content

Commit c1aff0a

Browse files
committed
test commit8
1 parent 46e440d commit c1aff0a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,18 @@ lint:
2020
uv run ruff check --fix
2121

2222
test:
23-
uv run pytest -v
23+
uv run pytest -v
24+
25+
.PHONY: start start-server
26+
27+
PORT ?= 3000
28+
29+
start-server:
30+
@if [ -f code/manage.py ]; then \
31+
cd code && uv run python manage.py runserver 0.0.0.0:$(PORT); \
32+
else \
33+
uv run python manage.py runserver 0.0.0.0:$(PORT); \
34+
fi
35+
36+
start:
37+
$(MAKE) start-server PORT=8000

0 commit comments

Comments
 (0)