octomode/Makefile

16 lines
320 B
Makefile
Raw Normal View History

#! make
include .env
export
default: local
2022-01-12 21:27:06 +01:00
setup:
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
2022-01-12 21:27:06 +01:00
local:
@.venv/bin/python octomode.py
action:
@SCRIPT_NAME=${OCTOMODE_APPLICATION_ROOT} .venv/bin/gunicorn -b localhost:${OCTOMODE_PORTNUMBER} --reload octomode:APP