diff --git a/.gitignore b/.gitignore index a977916..bcc68ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .vagrant/ +__pycache__ +venv diff --git a/evenementiel/settings_dev.py b/evenementiel/settings_dev.py index 2a2a82f..a5851f6 100644 --- a/evenementiel/settings_dev.py +++ b/evenementiel/settings_dev.py @@ -90,6 +90,7 @@ DATABASES = { 'USER': os.environ['DBUSER'], 'PASSWORD': os.environ['DBPASSWD'], 'PORT': 5432, + 'HOST': 'localhost', } } diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh index 93262db..13075f3 100644 --- a/provisioning/bootstrap.sh +++ b/provisioning/bootstrap.sh @@ -20,7 +20,7 @@ sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE $DBNAME TO $DBUSER;" # Mise en place du .bash_profile pour tout configurer lors du `vagrant ssh` cat > ~vagrant/.bash_profile <