From e26eee539b5aab6bac28a952677f900b602f409c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 9 Jul 2016 00:17:20 +0200 Subject: [PATCH] =?UTF-8?q?Ajoute=20py3=20=C3=A0a=20la=20config=20de=20la?= =?UTF-8?q?=20VM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- provisioning/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh index dde6e24a..ce3ef1e7 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 python-pip python-dev libmysqlclient-dev +apt-get update && apt-get install -y mercurial python3-pip python3-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 pip install --user -r requirements.txt -r requirements-devel.txt +sudo -H -u vagrant pip3 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 python manage.py migrate +sudo -H -u vagrant DJANGO_SETTINGS_MODULE='cof.settings_dev' DBUSER=$DBUSER DBNAME=$DBNAME DBPASSWD=$DBPASSWD python3 manage.py migrate