10 lines
No EOL
306 B
Makefile
10 lines
No EOL
306 B
Makefile
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 :$(PORT) --wsgi-file backend.py --callable app
|