File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 14
14
" python-memcache" ,
15
15
" postgresql-server-dev-9.1" ,
16
16
" libmysqlclient-dev" ,
17
+ " git-core" ,
17
18
]
18
19
package {
19
20
$packages: ensure => installed,
78
79
}
79
80
python::pip::requirements {"/vagrant/requirements_vagrant.txt" :
80
81
venv => $virtualenv ,
82
+ require => Python::Venv::Isolate[$virtualenv ]
81
83
}
82
84
exec {"install-oscar" :
83
85
command => " $virtualenv /bin/python /vagrant/setup.py develop" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ mysql -u root --password=root_password -e "DROP DATABASE IF EXISTS oscar_vagrant
7
7
8
8
# Postgres
9
9
sudo -u postgres psql -c " DROP DATABASE IF EXISTS oscar_vagrant"
10
- sudo -u postgres psql -c " CREATE DATABASE oscar_vagrant ENCODING UTF8 "
10
+ sudo -u postgres psql -c " CREATE DATABASE oscar_vagrant"
11
11
./manage.py syncdb --noinput --settings=settings_postgres > /dev/null
12
12
./manage.py migrate --noinput --settings=settings_postgres
You can’t perform that action at this time.
0 commit comments