Alex Yatskov
c4771359bd
git-subtree-dir: build git-subtree-mainline: |
||
---|---|---|
build | ||
static | ||
.gitignore | ||
README.md | ||
server.go | ||
server.sh | ||
types.go | ||
util.go |
Restaurant Search
This work-in-progress represents a prototype semantic search application that I'm developing as part of my master's thesis at Keio University. You can get a better understanding of the goals of this system by referring to the overview presentation. The prototype is open-source and those who are interested are encouraged to clone the project and tinker with it. You may also access a live snapshot of the prototype on my server.
This installation guide is designed with Ubuntu-based distributions in mind (I'm using Linux Mint 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
-
Install the system dependencies:
# apt-get install mysql-server nodejs-legacy nodejs npm
-
Install the Node dependencies:
# npm install -g bower
-
Install the Go tool chain:
$ wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz $ tar xzvf godeb-amd64.tar.gz # ./godeb install
-
Set the
GOPATH
environment variable (read the docs). -
Install the search application:
$ go get github.com/FooSoft/search
-
Initialize the database (from the
search/db
directory):$ ./init.sh $ ./load.sh
-
Install the client libraries (from the
search/static
directory):$ bower install
-
Build and start the server (from the
search
directory):$ go build $ ./server
-
Access the web application at
localhost:8080
.