1
Fork 0

Create development server

This commit is contained in:
Jake Howard 2016-05-15 21:22:02 +01:00
parent d10b5217f3
commit c4c2b95e86
5 changed files with 6 additions and 8 deletions

View file

@ -1,3 +0,0 @@
DEBUG=false
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
BUILD_PRODUCTION=true

View file

@ -1 +0,0 @@
web: waitress-serve --port $PORT project.wsgi:application

View file

@ -1,2 +0,0 @@
DEBUG=true
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend

View file

@ -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

4
scripts/server.sh Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd output/
python3 -m pelican.server $PORT