doc: mention download options

This commit is contained in:
mappu 2017-10-28 13:30:51 +13:00
parent 6abdc8d2a9
commit 62c03cf9f1

View File

@ -16,7 +16,10 @@ Tags: nmdc
[go-get]code.ivysaur.me/nmdc-webfrontend git https://git.ivysaur.me/code.ivysaur.me/nmdc-webfrontend.git[/go-get] [go-get]code.ivysaur.me/nmdc-webfrontend git https://git.ivysaur.me/code.ivysaur.me/nmdc-webfrontend.git[/go-get]
1. Install Go, Node.js, NPM, and 7-Zip (`p7zip-full` on Debian) 1. Install Go, Node.js, NPM, and 7-Zip (`p7zip-full` on Debian)
2. Set up your `$GOPATH` 2. Set up your `$GOPATH`
2. Download the source code: `go get code.ivysaur.me/nmdc-webfrontend` 3. Download the source code
- `https://git.ivysaur.me/code.ivysaur.me/nmdc-webfrontend.git` ; or
- `go get code.ivysaur.me/nmdc-webfrontend` ; or
- download and extract a source archive
4. Install dependencies: `sudo make deps` 4. Install dependencies: `sudo make deps`
5. Build: `make` 5. Build: `make`
6. Optional: Set `web.external_webroot: true` in the config file for unminified development 6. Optional: Set `web.external_webroot: true` in the config file for unminified development