up static routes

This commit is contained in:
Tykayn 2025-09-21 16:57:24 +02:00 committed by tykayn
parent 9cca0e4998
commit 1048f4af45
14 changed files with 2959 additions and 1076 deletions

View file

@ -1,5 +1,10 @@
default: start
dev: start
# Use PORT environment variable if set, otherwise default to 8080
PORT ?= 8080
# Log file for daemonized uWSGI
LOGFILE ?= uwsgi.log
start:
python3 -m venv venv
. venv/bin/activate && pip install -r requirements.txt && uwsgi --http :8080 --wsgi-file backend.py --callable app
. venv/bin/activate && pip install -r requirements.txt && uwsgi --http :$(PORT) --wsgi-file backend.py --callable app