diff --git a/etc/environments/deployment/env b/etc/environments/deployment/env deleted file mode 100644 index 0c8ddc0..0000000 --- a/etc/environments/deployment/env +++ /dev/null @@ -1,3 +0,0 @@ -DEBUG=false -EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend -BUILD_PRODUCTION=true diff --git a/etc/environments/deployment/procfile b/etc/environments/deployment/procfile deleted file mode 100644 index c90b8d4..0000000 --- a/etc/environments/deployment/procfile +++ /dev/null @@ -1 +0,0 @@ -web: waitress-serve --port $PORT project.wsgi:application diff --git a/etc/environments/development/env b/etc/environments/development/env deleted file mode 100644 index 9204e2e..0000000 --- a/etc/environments/development/env +++ /dev/null @@ -1,2 +0,0 @@ -DEBUG=true -EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend diff --git a/etc/environments/development/procfile b/etc/environments/development/procfile index 40349a7..6f7c68c 100644 --- a/etc/environments/development/procfile +++ b/etc/environments/development/procfile @@ -1,2 +1,2 @@ -web: manage.py runserver 0.0.0.0:$PORT -watcher: npm run watch +web: bash scripts/server.sh +watcher: pelican -vrdD diff --git a/scripts/server.sh b/scripts/server.sh new file mode 100644 index 0000000..f09ca56 --- /dev/null +++ b/scripts/server.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +cd output/ +python3 -m pelican.server $PORT