1
restaurant-search/README.md

60 lines
1.5 KiB
Markdown
Raw Normal View History

2015-07-09 04:01:46 +00:00
# Restaurant Search #
2015-03-22 07:56:57 +00:00
2015-11-17 03:46:58 +00:00
This work-in-progress represents a prototype semantic search web application that I'm developing as part of my master's
thesis at [Keio University](http://www.sfc.keio.ac.jp/). You can get a better understanding of the goals of my research
by referring to the [overview presentation](http://foosoft.net/research/search/slides) and checking out the [live
snapshot](http://search.foosoft.net/) of the prototype on my server.
2015-03-22 07:56:57 +00:00
2015-03-22 09:02:11 +00:00
This installation guide is designed with [Ubuntu](http://www.ubuntu.com/)-based distributions in mind (I'm using [Linux
Mint](http://www.linuxmint.com/) for development), but I expect it to be trivial to get this application running on
2015-11-17 03:46:58 +00:00
other flavors of Linux.
2015-03-22 07:56:57 +00:00
2015-07-09 04:01:46 +00:00
## Installation ##
2015-03-22 07:56:57 +00:00
2015-08-25 04:32:42 +00:00
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:
2015-03-22 07:56:57 +00:00
2015-07-09 04:01:46 +00:00
```
$ wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
$ tar xzvf godeb-amd64.tar.gz
# ./godeb install
```
2015-03-22 07:56:57 +00:00
2015-08-25 04:32:42 +00:00
4. Set the `GOPATH` environment variable (read the [docs](https://github.com/golang/go/wiki/GOPATH)).
2015-03-22 07:56:57 +00:00
2015-08-25 04:32:42 +00:00
5. Install the search application:
2015-03-22 07:56:57 +00:00
2015-07-09 04:01:46 +00:00
```
$ go get github.com/FooSoft/search
```
2015-03-22 07:56:57 +00:00
2015-08-25 04:32:42 +00:00
6. Install the client libraries (from the `search/static` directory):
2015-07-09 04:01:46 +00:00
```
$ bower install
```
2015-09-01 11:10:19 +00:00
7. Build and start the server (from the `search/cmd` directory):
2015-07-09 04:01:46 +00:00
```
$ go build
2015-09-01 11:10:19 +00:00
$ ./cmd
2015-07-09 04:01:46 +00:00
```
2015-08-25 04:32:42 +00:00
8. Access the web application at `localhost:8080`.
2015-11-17 05:48:46 +00:00
## License ##
MIT