X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/afe679349fb7139f5cff5830f45e4b8214732812..2e3522a2f6fafe1b06124d517fff30b32729397b:/INSTALL.md diff --git a/INSTALL.md b/INSTALL.md index e414a12e4..004133baf 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -30,7 +30,7 @@ These can be installed on Ubuntu 18.04 or later with: sudo apt-get update sudo apt-get install ruby2.5 libruby2.5 ruby2.5-dev bundler \ libmagickwand-dev libxml2-dev libxslt1-dev nodejs \ - apache2 apache2-dev build-essential git-core phantomjs \ + apache2 apache2-dev build-essential git-core firefox-geckodriver \ postgresql postgresql-contrib libpq-dev libsasl2-dev \ imagemagick libffi-dev libgd-dev libarchive-dev libbz2-dev sudo gem2.5 install bundler @@ -86,17 +86,7 @@ Installing other dependencies: * Install Homebrew from https://brew.sh/ * Install the latest version of Ruby: `brew install ruby` -* Install ImageMagick: `brew install imagemagick` -* Install libxml2: `brew install libxml2` -* Install libgd: `brew install gd` -* Install Yarn: `brew install yarn` -* Install pngcrush: `brew install pngcrush` -* Install optipng: `brew install optipng` -* Install pngquant: `brew install pngquant` -* Install jhead: `brew install jhead` -* Install jpegoptim: `brew install jpegoptim` -* Install gifsicle: `brew install gifsicle` -* Install svgo: `brew install svgo` +* Install other dependencies: `brew install imagemagick libxml2 gd yarn pngcrush optipng pngquant jhead jpegoptim gifsicle svgo` * Install Bundler: `gem install bundler` (you might need to `sudo gem install bundler` if you get an error about permissions - or see note below about [developer Ruby setup](#rbenv)) You will need to tell `bundler` that `libxml2` is installed in a Homebrew location. If it uses the system-installed one then you will get errors installing the `libxml-ruby` gem later on. @@ -105,11 +95,11 @@ You will need to tell `bundler` that `libxml2` is installed in a Homebrew locati bundle config build.libxml-ruby --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config ``` -If you want to run the tests, you need `phantomjs` as well: +If you want to run the tests, you need `geckodriver` as well: ``` brew tap homebrew/cask -brew cask install phantomjs +brew cask install geckodriver ``` Note that OS X does not have a /home directory by default, so if you are using the GPX functions, you will need to change the directories specified in config/application.yml. @@ -311,4 +301,4 @@ Where `$VERSION` is the version you installed. Then install bundler: gem install bundler ``` -You should now be able to proceed with the rest of the installation. If you're on MacOSX, make sure you set up the [config override for the libxml2 location])(#macosx-bundle-config) _after_ installing bundler. +You should now be able to proceed with the rest of the installation. If you're on MacOSX, make sure you set up the [config override for the libxml2 location](#macosx-bundle-config) _after_ installing bundler.