Browse Source

Add local fixed archive copying

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

11
makefile

@ -1,7 +1,8 @@
SERVER := voicegardens.server
REMOTE_HOST := voicegardens.org
ARCHIVE_DIR := voicegardens/archive
STATIC_DIR := voicegardens/static
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