Create development server
This commit is contained in:
parent
d10b5217f3
commit
c4c2b95e86
5 changed files with 6 additions and 8 deletions
|
@ -1,3 +0,0 @@
|
||||||
DEBUG=false
|
|
||||||
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
|
|
||||||
BUILD_PRODUCTION=true
|
|
|
@ -1 +0,0 @@
|
||||||
web: waitress-serve --port $PORT project.wsgi:application
|
|
|
@ -1,2 +0,0 @@
|
||||||
DEBUG=true
|
|
||||||
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
|
|
|
@ -1,2 +1,2 @@
|
||||||
web: manage.py runserver 0.0.0.0:$PORT
|
web: bash scripts/server.sh
|
||||||
watcher: npm run watch
|
watcher: pelican -vrdD
|
||||||
|
|
4
scripts/server.sh
Normal file
4
scripts/server.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd output/
|
||||||
|
python3 -m pelican.server $PORT
|
Reference in a new issue