Fix vagrant storage.yml config
Tell vagrant to copy the example storage.yml config file into place as per INSTALL.md instructions. Allows the migrations to run.
This commit is contained in:
parent
2fe84cc2a8
commit
448fd1b3bd
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ sudo -u vagrant psql -d openstreetmap -f db/functions/functions.sql
|
||||||
if [ ! -f config/database.yml ]; then
|
if [ ! -f config/database.yml ]; then
|
||||||
sudo -u vagrant cp config/example.database.yml config/database.yml
|
sudo -u vagrant cp config/example.database.yml config/database.yml
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f config/storage.yml ]; then
|
||||||
|
cp config/example.storage.yml config/storage.yml
|
||||||
|
fi
|
||||||
touch config/settings.local.yml
|
touch config/settings.local.yml
|
||||||
# migrate the database to the latest version
|
# migrate the database to the latest version
|
||||||
sudo -u vagrant bundle exec rake db:migrate
|
sudo -u vagrant bundle exec rake db:migrate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue