hbbs.decentral1.se/makefile

17 lines
309 B
Makefile
Raw Normal View History

2020-04-04 19:34:22 +02:00
REMOTE_HOST := hbbs.decentral1.se
SERVER := hbbs.server
2020-04-04 18:55:53 +02:00
2020-04-04 19:34:22 +02:00
default: serve
2020-04-04 18:55:53 +02:00
2020-04-04 19:34:22 +02:00
.PHONY: serve
serve:
2020-04-04 18:55:53 +02:00
@FLASK_ENV=development FLASK_APP=$(SERVER) flask run
2020-04-04 19:34:22 +02:00
.PHONY: hbbs
hbbs:
2020-04-05 13:09:12 +02:00
@.venv/bin/fab -H $(REMOTE_HOST) hbbs
2020-04-05 13:08:03 +02:00
.PHONY: setup
setup:
@python3 -m virtualenv .venv && .venv/bin/pip install -r requirements.txt