From: Harry Wood Date: Sat, 12 Feb 2022 00:13:42 +0000 (+0000) Subject: Fix vagrant storage.yml config X-Git-Tag: live~1380^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/448fd1b3bde9f976841cfc0b3981425e67361bb6 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. --- diff --git a/script/vagrant/setup/provision.sh b/script/vagrant/setup/provision.sh index 680c17bc8..6d7e51d6a 100644 --- a/script/vagrant/setup/provision.sh +++ b/script/vagrant/setup/provision.sh @@ -60,6 +60,9 @@ sudo -u vagrant psql -d openstreetmap -f db/functions/functions.sql if [ ! -f config/database.yml ]; then sudo -u vagrant cp config/example.database.yml config/database.yml fi +if [ ! -f config/storage.yml ]; then + cp config/example.storage.yml config/storage.yml +fi touch config/settings.local.yml # migrate the database to the latest version sudo -u vagrant bundle exec rake db:migrate