Tests pour le BDS #816
4 changed files with 8 additions and 5 deletions
|
@ -15,8 +15,8 @@ server {
|
|||
rewrite ^/gestion$ http://localhost:8080/gestion/ redirect;
|
||||
|
||||
# Les pages statiques sont servies à part.
|
||||
location /gestion/static { try_files $uri $uri/ =404; }
|
||||
location /gestion/media { try_files $uri $uri/ =404; }
|
||||
location /static { try_files $uri $uri/ =404; }
|
||||
location /media { try_files $uri $uri/ =404; }
|
||||
|
||||
# On proxy-pass les requêtes vers les pages dynamiques à daphne
|
||||
location / {
|
||||
|
|
|
@ -11,7 +11,7 @@ WorkingDirectory=/vagrant
|
|||
Environment="DJANGO_SETTINGS_MODULE=gestioasso.settings.dev"
|
||||
ExecStart=/home/vagrant/venv/bin/daphne \
|
||||
-u /srv/gestiocof/gestiocof.sock \
|
||||
gestioasso.asgi:channel_layer
|
||||
gestioasso.asgi:application
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -10,7 +10,10 @@ Group=vagrant
|
|||
TimeoutSec=300
|
||||
WorkingDirectory=/vagrant
|
||||
Environment="DJANGO_SETTINGS_MODULE=gestioasso.settings.dev"
|
||||
ExecStart=/home/vagrant/venv/bin/python manage.py runworker
|
||||
ExecStart=/home/vagrant/venv/bin/python manage.py runworker \
|
||||
'kfet.open.team' \
|
||||
'kfet.open.base' \
|
||||
'kpsul'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
psycopg2<2.8
|
||||
|
||||
# Redis
|
||||
django-redis-cache==2.1.*
|
||||
django-redis-cache==3.0.*
|
||||
redis~=2.10.6
|
||||
channels-redis==2.4.*
|
||||
|
||||
|
|
Loading…
Reference in a new issue