From 6a4a5e4c9c0fcb2cd0c7c87cc128614b50717fbd Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 25 Aug 2015 13:32:42 +0900 Subject: [PATCH] Updating README --- README.md | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 15cd2e0..f809b04 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,21 @@ This installation guide is designed with [Ubuntu](http://www.ubuntu.com/)-based Mint](http://www.linuxmint.com/) for development), but I expect it to be trivial to get this application running on other flavors of Linux. If you run into any problems, let me know. - ## Installation ## -1. Install the Go tool chain: +1. Install the system dependencies: + + ``` + # apt-get install nodejs-legacy nodejs npm + ``` + +2. Install the Node dependencies: + + ``` + # npm install -g bower + ``` + +3. Install the Go tool chain: ``` $ wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz @@ -21,25 +32,25 @@ other flavors of Linux. If you run into any problems, let me know. # ./godeb install ``` -2. Set the `GOPATH` environment variable (read the docs). +4. Set the `GOPATH` environment variable (read the [docs](https://github.com/golang/go/wiki/GOPATH)). -3. Install the search application: +5. Install the search application: ``` $ go get github.com/FooSoft/search ``` -4. Install the client libraries (from the `search/static` directory): +6. Install the client libraries (from the `search/static` directory): ``` $ bower install ``` -5. Build and start the server (from the `search` directory): +7. Build and start the server (from the `search` directory): ``` $ go build $ ./server ``` -6. Access the web application at `localhost:8080`. +8. Access the web application at `localhost:8080`.