Commit e72abf46 authored by Takuya Noguchi's avatar Takuya Noguchi 🇯🇵

Add docs for adding ChromeDriver to deprecate PhantomJS

parent ee3c6d26
......@@ -4,6 +4,10 @@ This Changelog tracks major changes to the GitLab Development Kit,
such as dependency updates (those not handled by Bundler) and new
features.
## 2018-01-11
- Added ChomeDriver to deprecate PhantomJS. !423 !380
## 2017-11-24
- Add Docker-in-Docker support in Vagrantfile (needed to run GitLab Container Registry)
......
......@@ -60,7 +60,7 @@ $apt_reqs = <<EOT
echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
export DEBIAN_FRONTEND=noninteractive
export RUNLEVEL=1
apt-get update && apt-get -y install git postgresql postgresql-contrib libpq-dev phantomjs redis-server libicu-dev cmake g++ nodejs libkrb5-dev curl ruby ed golang-go nginx libgmp-dev rvm yarn libre2-dev docker.io
apt-get update && apt-get -y install git postgresql postgresql-contrib libpq-dev redis-server libicu-dev cmake g++ nodejs libkrb5-dev curl ruby ed golang-go nginx libgmp-dev rvm yarn libre2-dev docker.io
apt-get update && apt-get -y upgrade
EOT
......
......@@ -45,7 +45,6 @@ that causes most Ruby app servers to crash on launch on High Sierra.
```
brew install git redis postgresql@9.6 libiconv icu4c pkg-config cmake nodejs go openssl node npm yarn coreutils re2
bundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
sudo npm install phantomjs-prebuilt@2.1.12 -g --unsafe-perm
```
#### Install OS X prerequisites using macports
......@@ -55,11 +54,9 @@ We are using PostgreSQL-9.5 in the following example. If you want to use another
```
sudo port install git redis libiconv postgresql95-server icu pkgconfig cmake nodejs4 go openssl npm2 yarn coreutils re2
bundle config build.eventmachine --with-cppflags=-I/opt/local/include/openssl
sudo npm install phantomjs-prebuilt@2.1.12 -g --unsafe-perm
echo 'export PATH=/opt/local/lib/postgresql95/bin/:$PATH' >> ~/.profile
```
### Ubuntu
Please read [the prerequisites for all platforms](#prerequisites-for-all-platforms).
......@@ -71,7 +68,6 @@ sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install git postgresql postgresql-contrib libpq-dev redis-server libicu-dev cmake g++ nodejs nodejs-legacy npm libre2-dev libkrb5-dev libsqlite3-dev golang-1.8-go ed pkg-config
sudo npm install phantomjs-prebuilt@2.1.12 yarn -g --unsafe-perm
```
Ubuntu 14.04 (Trusty Tahr) doesn't have the `libre2-dev` package available, but
......@@ -83,7 +79,6 @@ Please read [the prerequisites for all platforms](#prerequisites-for-all-platfor
```
pacman -S postgresql redis postgresql-libs icu npm ed cmake openssh git go re2 unzip
npm install phantomjs-prebuilt@2.1.12 yarn -g --unsafe-perm
```
### Debian
......@@ -99,18 +94,6 @@ compiler via your package manager: `sudo apt-get install golang`.
Otherwise you need to install it manually. See [go] official installation
instructions.
You need to install phantomjs manually:
```
PHANTOM_JS="phantomjs-2.1.1-linux-x86_64"
cd ~
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
tar -xvjf $PHANTOM_JS.tar.bz2
sudo mv $PHANTOM_JS /usr/local/share
sudo ln -s /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
phantomjs --version
```
You may need to install Redis 2.8 or newer manually.
### Fedora
......@@ -123,9 +106,6 @@ If you are running Fedora < 26 you'll need to install `go` manually using [go] o
sudo dnf install postgresql libpqxx-devel postgresql-libs redis libicu-devel nodejs git ed cmake rpm-build gcc-c++ krb5-devel go postgresql-server postgresql-contrib re2
```
Install `phantomJS` manually, or download it and put in your $PATH. For
instructions, follow the [Debian guide on phantomJS](#debian).
You may need to install Redis 2.8 or newer manually.
### CentOS
......@@ -139,8 +119,6 @@ sudo yum install http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-redhat9
sudo yum install https://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install postgresql95-server postgresql95-devel libicu-devel cmake gcc-c++ redis ed fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6 nodejs npm re2
sudo npm install phantomjs-prebuilt@2.1.12 -g --unsafe-perm
bundle config build.pg --with-pg-config=/usr/pgsql-9.5/bin/pg_config
# This example uses Ruby 2.3.6. Substitute with the current version if different.
sudo rvm install 2.3.6
......@@ -152,9 +130,6 @@ sudo usermod -a -G rvm <username>
Install `go` manually using [go] official installation instructions.
Install `phantomJS` manually, or download it and put in your $PATH. For
instructions, follow the [Debian guide on phantomJS](#debian).
Git 1.7.1-3 is the latest git binary for CentOS 6.5 and GitLab. Spinach tests
will fail due to a higher version requirement by GitLab. You can follow the
instructions found [in the GitLab recipes repository][puias] to install a newer
......@@ -175,8 +150,6 @@ sudo zypper dup
sudo zypper install libxslt-devel postgresql postgresql-devel libpqxx-devel redis libicu-devel nodejs git ed cmake \
rpm-build gcc-c++ krb5-devel postgresql-server postgresql-contrib \
libxml2-devel libxml2-devel-32bit findutils-locate re2
sudo npm install -g phantomjs yarn
```
On leap 42.1 you also need:
......@@ -209,7 +182,7 @@ Please read [the prerequisites for all platforms](#prerequisites-for-all-platfor
```
sudo pkg install postgresql93-server postgresql93-contrib postgresql-libpqxx \
redis go node icu krb5 phantomjs gmake re2
redis go node icu krb5 gmake re2
```
### **Experimental** Windows 10 using the WSL (Windows Subsystem for Linux)
......@@ -254,7 +227,6 @@ sudo apt-get install software-properties-common python-software-properties
sudo apt-add-repository -y ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get install git postgresql postgresql-contrib libpq-dev redis-server libicu-dev cmake g++ libkrb5-dev libre2-dev golang ed pkg-config
sudo npm install phantomjs-prebuilt@2.1.12 -g --unsafe-perm
```
Start the PostgreSQL database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment