A place to inform on the world wide web
https://hbbs.decentral1.se
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.
16 lines
309 B
16 lines
309 B
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
|
|
|