move the django project one level up
This commit is contained in:
parent
0a8a8d42f8
commit
54890d9358
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"python.pythonPath": "venv/bin/python3",
|
||||
"python.linting.pylintEnabled": true,
|
||||
"python.linting.enabled": true
|
||||
}
|
|
@ -1 +1,3 @@
|
|||
-r base.txt
|
||||
|
||||
gunicorn
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
nohub gunicorn sensors.wsgi:application --bind 0.0.0.0:80 --workers 3
|
||||
nohub ./collector.sh
|
|
@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
DEBUG = True
|
||||
|
||||
# Application definition
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
from .base import *
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
'sensors.2li.ch',
|
||||
'sensors.2li.local',
|
||||
'10.7.89.122',
|
||||
]
|
||||
|
Loading…
Reference in New Issue