X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/47362f432a9bd10196b27aa1667e6166b76f4b66..d6d16dedb917d1e0339eced418de8ae908dba3e8:/script/vagrant/setup/provision.sh diff --git a/script/vagrant/setup/provision.sh b/script/vagrant/setup/provision.sh index e114f4616..8fb296ae6 100644 --- a/script/vagrant/setup/provision.sh +++ b/script/vagrant/setup/provision.sh @@ -16,13 +16,12 @@ apt-get update apt-get upgrade -y # install packages as explained in INSTALL.md -apt-get install -y ruby2.7 libruby2.7 ruby2.7-dev \ - libxml2-dev libxslt1-dev nodejs yarnpkg \ - apache2 apache2-dev build-essential git-core firefox-geckodriver \ +apt-get install -y ruby ruby-dev ruby-bundler \ + libxml2-dev libxslt1-dev nodejs npm \ + build-essential git-core \ postgresql postgresql-contrib libpq-dev libvips-dev \ libsasl2-dev libffi-dev libgd-dev libarchive-dev libbz2-dev -gem2.7 install rake -gem2.7 install --version "~> 2.1.4" bundler +npm install --global yarn ## install the bundle necessary for openstreetmap-website pushd /srv/openstreetmap-website @@ -47,5 +46,5 @@ if [ ! -f config/storage.yml ]; then fi touch config/settings.local.yml # migrate the database to the latest version -sudo -u vagrant bundle exec rake db:migrate +sudo -u vagrant bundle exec rails db:migrate popd