Collective PDF rendering environment (work-in-progress)
https://cc.vvvvvvaria.org/wiki/Octomode
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
320 B
15 lines
320 B
#! make
|
|
|
|
include .env
|
|
export
|
|
|
|
default: local
|
|
|
|
setup:
|
|
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
|
|
|
|
local:
|
|
@.venv/bin/python octomode.py
|
|
|
|
action:
|
|
@SCRIPT_NAME=${OCTOMODE_APPLICATION_ROOT} .venv/bin/gunicorn -b localhost:${OCTOMODE_PORTNUMBER} --reload octomode:APP
|
|
|