From 52fba5a7aa82ae674f40a6fd861accea304e2c96 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 24 Aug 2015 19:17:19 +0900 Subject: [PATCH] Updating readme --- README.md | 31 ++++++------------------------- server.sh | 2 -- 2 files changed, 6 insertions(+), 27 deletions(-) delete mode 100755 server.sh diff --git a/README.md b/README.md index 1e0978b..15cd2e0 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,7 @@ other flavors of Linux. If you run into any problems, let me know. ## Installation ## -1. Install the system dependencies: - - ``` - # apt-get install mysql-server nodejs-legacy nodejs npm - ``` - -2. Install the Node dependencies: - - ``` - # npm install -g bower - ``` - -3. Install the Go tool chain: +1. Install the Go tool chain: ``` $ wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz @@ -33,32 +21,25 @@ other flavors of Linux. If you run into any problems, let me know. # ./godeb install ``` -4. Set the `GOPATH` environment variable (read the docs). +2. Set the `GOPATH` environment variable (read the docs). -5. Install the search application: +3. Install the search application: ``` $ go get github.com/FooSoft/search ``` -6. Initialize the database (from the `search/db` directory): - - ``` - $ ./init.sh - $ ./load.sh - ``` - -7. Install the client libraries (from the `search/static` directory): +4. Install the client libraries (from the `search/static` directory): ``` $ bower install ``` -8. Build and start the server (from the `search` directory): +5. Build and start the server (from the `search` directory): ``` $ go build $ ./server ``` -9. Access the web application at `localhost:8080`. +6. Access the web application at `localhost:8080`. diff --git a/server.sh b/server.sh deleted file mode 100755 index 088169c..0000000 --- a/server.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -go run *.go -port 8181