Browse Source

Add local fixed archive copying

main
Luke Murphy 5 years ago
parent
commit
8cc7b55f49
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 7
      makefile

7
makefile

@ -1,6 +1,7 @@
SERVER := voicegardens.server
REMOTE_HOST := voicegardens.org
ARCHIVE_DIR := voicegardens/archive
FIXED_ARCHIVE_DIR := voicegardens/fixed-archive
REMOTE_HOST := voicegardens.org
SERVER := voicegardens.server
STATIC_DIR := voicegardens/static
default: dev-serve
@ -12,7 +13,7 @@ prod-serve:
@gunicorn --workers 1 --bind 9090 $(SERVER):app
clear-local-archive:
@rm -rf $(ARCHIVE_DIR)/*
@rm -rf $(ARCHIVE_DIR)/* && cp $(FIXED_ARCHIVE_DIR)/* $(ARCHIVE_DIR)
doesitsparkjoy:
@fab -H $(REMOTE_HOST) doesitsparkjoy

Loading…
Cancel
Save