X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/479c1575e119d93a0d239fb192ad4ed3d03cad88..d4efa872addf6e3101dd45127c6299f8223ce813:/INSTALL.md diff --git a/INSTALL.md b/INSTALL.md index 6815bab1f..ea892ae29 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -33,7 +33,7 @@ These can be installed on Ubuntu 20.04 or later with: sudo apt-get update sudo apt-get install ruby2.7 libruby2.7 ruby2.7-dev \ libvips-dev libxml2-dev libxslt1-dev nodejs \ - apache2 apache2-dev build-essential git-core firefox-geckodriver \ + build-essential git-core firefox-geckodriver \ postgresql postgresql-contrib libpq-dev libsasl2-dev \ libffi-dev libgd-dev libarchive-dev libbz2-dev yarnpkg sudo gem2.7 install bundler @@ -137,7 +137,7 @@ bundle install We use [Yarn](https://yarnpkg.com/) to manage the Node.js modules required for the project. ``` -bundle exec rake yarn:install +bundle exec bin/yarn install ``` ## Prepare local settings file @@ -185,7 +185,7 @@ exit To create the three databases - for development, testing and production - run: ``` -bundle exec rake db:create +bundle exec rails db:create ``` ### Database structure @@ -193,7 +193,7 @@ bundle exec rake db:create To create all the tables, indexes and constraints, run: ``` -bundle exec rake db:migrate +bundle exec rails db:migrate ``` ## Running the tests