<p>I also gave it a go, in case others are trying,  I also edited the end of the provision.sh script to copy the storage config file (if it's needed) and use also use "bundle exec" to call the rake tasks</p>
<pre><code>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
popd
</code></pre>
<p>Running the tests, there were errors related to</p>
<p><code>failed to detect theversion of the executable at '/usr/bin/phantomjs' </code></p>
<p>This was solved by changing the environment variable from "phantom" to "offscreen" in the application_system_testcase.rb</p>
<p><code>ENV["QT_QPA_PLATFORM"] = "offscreen" if IO.popen(["phantomjs", "--version"], :err => :close).read.empty?</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2343?email_source=notifications&email_token=AAK2OLKVX4RWVKW5JFCY4N3QDWQOJA5CNFSM4IKBLEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37H7EY#issuecomment-519995283">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPMMQAQRYKQRADOPTDQDWQOJANCNFSM4IKBLEWQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLPP5R33I474M6SCD73QDWQOJA5CNFSM4IKBLEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37H7EY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2343?email_source=notifications\u0026email_token=AAK2OLKVX4RWVKW5JFCY4N3QDWQOJA5CNFSM4IKBLEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37H7EY#issuecomment-519995283",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2343?email_source=notifications\u0026email_token=AAK2OLKVX4RWVKW5JFCY4N3QDWQOJA5CNFSM4IKBLEW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37H7EY#issuecomment-519995283",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>