An online landscape, built as a tool to explore the many aspects of the human voice.
https://voicegardens.org
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.
31 lines
690 B
31 lines
690 B
SERVER := voicegardens.server
|
|
REMOTE_HOST := voicegardens.org
|
|
ARCHIVE_DIR := voicegardens/archive
|
|
STATIC_DIR := voicegardens/static
|
|
|
|
default: dev-serve
|
|
|
|
dev-serve:
|
|
@FLASK_ENV=development FLASK_APP=$(SERVER) flask run
|
|
|
|
prod-serve:
|
|
@gunicorn --workers 1 --bind 9090 $(SERVER):app
|
|
|
|
clear-local-archive:
|
|
@rm -rf $(ARCHIVE_DIR)/*
|
|
|
|
doesitsparkjoy:
|
|
@fab -H $(REMOTE_HOST) doesitsparkjoy
|
|
|
|
voicegardens:
|
|
@fab -H $(REMOTE_HOST) voicegardens
|
|
|
|
cleanarchives:
|
|
@fab -H $(REMOTE_HOST) cleanarchives
|
|
|
|
dailycron:
|
|
@fab -H $(REMOTE_HOST) dailycron
|
|
|
|
release: doesitsparkjoy voicegardens
|
|
|
|
.PHONY: dev-serve prod-serve clear-local-archive doesitsparkjoy voicegardens cleanarchives dailycron release
|
|
|