17 lines
299 B
Makefile
17 lines
299 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:
|
|
@fab -H $(REMOTE_HOST) hbbs
|
|
|
|
.PHONY: setup
|
|
setup:
|
|
@python3 -m virtualenv .venv && .venv/bin/pip install -r requirements.txt
|