up static routes
This commit is contained in:
parent
9cca0e4998
commit
1048f4af45
14 changed files with 2959 additions and 1076 deletions
7
Makefile
7
Makefile
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue