From 4d27d853845607c3eafaf574ee86f683ee9da180 Mon Sep 17 00:00:00 2001 From: Basile Clement Date: Fri, 15 Jul 2016 00:24:40 +0200 Subject: [PATCH] Keep using python2 by default on Vagrant install for now --- provisioning/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh index ce3ef1e7..dde6e24a 100644 --- a/provisioning/bootstrap.sh +++ b/provisioning/bootstrap.sh @@ -8,7 +8,7 @@ DBNAME="cof_gestion" DBPASSWD="4KZt3nGPLVeWSvtBZPSM3fSzXpzEU4" # Installation de paquets utiles -apt-get update && apt-get install -y mercurial python3-pip python3-dev libmysqlclient-dev +apt-get update && apt-get install -y mercurial python-pip python-dev libmysqlclient-dev # Configuration et installation de mysql. Le mot de passe root est le même que # le mot de passe pour l'utilisateur local - pour rappel, ceci est une instance @@ -42,7 +42,7 @@ chown vagrant: ~vagrant/.bash_profile cd /vagrant # Installation des dépendances python -sudo -H -u vagrant pip3 install --user -r requirements.txt -r requirements-devel.txt +sudo -H -u vagrant pip install --user -r requirements.txt -r requirements-devel.txt # Préparation de Django -sudo -H -u vagrant DJANGO_SETTINGS_MODULE='cof.settings_dev' DBUSER=$DBUSER DBNAME=$DBNAME DBPASSWD=$DBPASSWD python3 manage.py migrate +sudo -H -u vagrant DJANGO_SETTINGS_MODULE='cof.settings_dev' DBUSER=$DBUSER DBNAME=$DBNAME DBPASSWD=$DBPASSWD python manage.py migrate