Install redis-server et fix requirements

This commit is contained in:
Aurélien Delobelle 2016-08-18 14:23:27 +02:00
parent 8c3488a610
commit b87b0ce958
2 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,9 @@ apt-get install -y mysql-server
mysql -uroot -p$DBPASSWD -e "CREATE DATABASE $DBNAME; GRANT ALL PRIVILEGES ON $DBNAME.* TO '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASSWD'" mysql -uroot -p$DBPASSWD -e "CREATE DATABASE $DBNAME; GRANT ALL PRIVILEGES ON $DBNAME.* TO '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASSWD'"
# Installation de redis-server. Todo: lui mettre un mot de passe
apt-get install -y redis-server
# Mise en place du .bash_profile pour tout configurer lors du `vagrant ssh` # Mise en place du .bash_profile pour tout configurer lors du `vagrant ssh`
cat > ~vagrant/.bash_profile <<EOF cat > ~vagrant/.bash_profile <<EOF
# On utilise la version de développement de GestioCOF # On utilise la version de développement de GestioCOF

View file

@ -14,6 +14,5 @@ icalendar==3.10
django-bootstrap-form==3.2.1 django-bootstrap-form==3.2.1
asgiref==0.14.0 asgiref==0.14.0
daphne==0.14.3 daphne==0.14.3
channels==0.17.2
asgi-redis==0.14.0 asgi-redis==0.14.0
channels=0.17.2 channels=0.17.2