2019-12-22 05:36:48 +01:00
|
|
|
SERVER := voicegardens.server
|
|
|
|
REMOTE_HOST := voicegardens.org
|
2019-12-21 12:49:53 +01:00
|
|
|
ARCHIVE_DIR := ./voicegardens/archive
|
2019-12-21 10:24:34 +01:00
|
|
|
|
2019-12-21 12:35:21 +01:00
|
|
|
default: dev-serve
|
2019-12-11 11:20:35 +01:00
|
|
|
|
2019-12-21 11:46:27 +01:00
|
|
|
dev-serve:
|
2019-12-22 05:36:48 +01:00
|
|
|
@FLASK_ENV=development FLASK_APP=$(SERVER) flask run
|
|
|
|
|
|
|
|
prod-serve:
|
|
|
|
@gunicorn --workers 1 --bind 9090 $(SERVER):app
|
2019-12-21 10:24:34 +01:00
|
|
|
|
|
|
|
clear-archive:
|
|
|
|
@rm -rf $(ARCHIVE_DIR)/*
|
2019-12-21 11:46:27 +01:00
|
|
|
|
2019-12-22 05:36:48 +01:00
|
|
|
doesitsparkjoy:
|
|
|
|
@fab -H $(REMOTE_HOST) doesitsparkjoy
|
2019-12-21 13:17:13 +01:00
|
|
|
|
2019-12-22 05:36:48 +01:00
|
|
|
voicegardens:
|
|
|
|
@fab -H $(REMOTE_HOST) voicegardens
|
2020-01-05 12:08:43 +01:00
|
|
|
|
|
|
|
tiles:
|
|
|
|
@gdal2tiles.py -l -p raster -z 0-5 -w none tiles2
|