Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_revente

This commit is contained in:
Ludovic Stephan 2016-09-11 14:15:38 +02:00
commit 7f2717c10c
2 changed files with 3 additions and 1 deletions

View file

@ -178,12 +178,13 @@ CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgi_redis.RedisChannelLayer",
"CONFIG": {
"hosts": [("redis://:password_redis@127.0.0.1:6379/0")],
"hosts": [("redis://:redis_password@127.0.0.1:6379/0")],
},
"ROUTING": "cof.routing.channel_routing",
}
}
def show_toolbar(request):
"""
On ne veut pas la vérification de INTERNAL_IPS faite par la debug-toolbar

View file

@ -23,6 +23,7 @@ mysql -uroot -p$DBPASSWD -e "CREATE DATABASE $DBNAME; GRANT ALL PRIVILEGES ON $D
# Installation de redis-server. Todo: lui mettre un mot de passe
apt-get install -y redis-server
redis-cli config set requirepass redis_password
# Mise en place du .bash_profile pour tout configurer lors du `vagrant ssh`
cat > ~vagrant/.bash_profile <<EOF