summaryrefslogtreecommitdiffstats
path: root/docs/part-2/1_xds-server.md
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-16 10:50:11 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-16 10:50:17 +0100
commit3e719a63b4bbae57d774c34e6c8cff882a328e14 (patch)
treee050c0b16dace4a8f574685647dbcbb9bd46501c /docs/part-2/1_xds-server.md
parent4b7ce7d2cc016e5f2e4b612fa742f65f91250235 (diff)
Only one location for dependencies install instructions.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/part-2/1_xds-server.md')
-rw-r--r--docs/part-2/1_xds-server.md34
1 files changed, 9 insertions, 25 deletions
diff --git a/docs/part-2/1_xds-server.md b/docs/part-2/1_xds-server.md
index b4022b2..2c31b1e 100644
--- a/docs/part-2/1_xds-server.md
+++ b/docs/part-2/1_xds-server.md
@@ -401,29 +401,9 @@ See also [xds-agent documentation](2_xds-agent.html) for more details.
### Dependencies
-- Install and setup [Go](https://golang.org/doc/install) version 1.8.1 or higher to compile this tool.
-- Install [npm](https://www.npmjs.com/)
-- Install [nodejs](https://nodejs.org/en/)
-
-Ubuntu:
-
-```bash
- sudo apt-get install golang npm curl git zip unzip
- sudo npm install --global n @angular/cli # Angular Command Line Interface
- # Install LTS version of nodejs
- sudo n lts
-```
-
-openSUSE:
-
-```bash
- sudo zypper install go npm git curl zip unzip
- sudo npm install --global n @angular/cli # Angular Command Line Interface
- # Install LTS version of nodejs
- sudo n lts
-```
-
-Don't forget to open new user session after installing the packages.
+Install [Go](https://golang.org/doc/install), [npm](https://www.npmjs.com/),
+[nodejs](https://nodejs.org/en/) and some other tools.
+Refer to [Prerequisites chapter](./0_Abstract.html#prerequisites) for more details.
### Building
@@ -434,12 +414,16 @@ Create a GOPATH variable(must be a full path):
```bash
export GOPATH=$(realpath ~/workspace_go)
```
+SEB Rework GOPATH inscrutions
+
Clone this repo into your `$GOPATH/src/gerrit.automotivelinux.org/gerrit/src/xds` and use delivered Makefile:
```bash
- mkdir -p $GOPATH/src/gerrit.automotivelinux.org/gerrit/src/xds
- cd $GOPATH/src/gerrit.automotivelinux.org/gerrit/src/xds
+export GOPATH=${GOPATH}:${ROOTDIR}
+
+ mkdir -p $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/src/xds
+ cd $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/src/xds
git clone https://gerrit.automotivelinux.org/gerrit/src/xds/xds-server
# or git clone ssh://YOUR_USERNAME@gerrit.automotivelinux.org:29418/src/xds/xds-server
cd xds-server