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.

makefile 854B

1234567891011121314151617181920212223242526272829303132333435
  1. ARCHIVE_DIR := voicegardens/archive
  2. FIXED_ARCHIVE_DIR := voicegardens/fixed-archive
  3. REMOTE_HOST := voicegardens.org
  4. SERVER := voicegardens.server
  5. STATIC_DIR := voicegardens/static
  6. default: dev-serve
  7. dev-serve:
  8. @FLASK_ENV=development FLASK_APP=$(SERVER) flask run
  9. prod-serve:
  10. @gunicorn --workers 1 --bind 9090 $(SERVER):app
  11. clear-local-archive:
  12. @rm -rf $(ARCHIVE_DIR)/* && cp $(FIXED_ARCHIVE_DIR)/* $(ARCHIVE_DIR)
  13. doesitsparkjoy:
  14. @fab -H $(REMOTE_HOST) doesitsparkjoy
  15. voicegardens:
  16. @fab -H $(REMOTE_HOST) voicegardens
  17. cleanarchives:
  18. @fab -H $(REMOTE_HOST) cleanarchives
  19. dailycron:
  20. @fab -H $(REMOTE_HOST) dailycron
  21. hourlycron:
  22. @fab -H $(REMOTE_HOST) hourlycron
  23. release: doesitsparkjoy voicegardens
  24. .PHONY: dev-serve prod-serve clear-local-archive doesitsparkjoy voicegardens cleanarchives dailycron release