17 lines
309 B
Makefile
17 lines
309 B
Makefile
REMOTE_HOST := hbbs.decentral1.se
|
|
SERVER := hbbs.server
|
|
|
|
default: serve
|
|
|
|
.PHONY: serve
|
|
serve:
|
|
@FLASK_ENV=development FLASK_APP=$(SERVER) flask run
|
|
|
|
.PHONY: hbbs
|
|
hbbs:
|
|
@.venv/bin/fab -H $(REMOTE_HOST) hbbs
|
|
|
|
.PHONY: setup
|
|
setup:
|
|
@python3 -m virtualenv .venv && .venv/bin/pip install -r requirements.txt
|