SpaghettiSearch
1.0.0
Fully-functioning search engine built on top of Golang to satisfy HKUST COMP4321 requirements.It is built using Golang as its backend, and React as its frontend.
http://spaghetti-search.herokuapp.com/
$ sudo tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
$ export PATH=$PATH:/usr/local/go/bingo get
$ go get github.com/nwihardjo/SpaghettiSearch
dep is used as the package management to ensure the installed dependencies are the correct version from the correct vendor. Run dep ensure on project root to install required packages, or run go get ./... to same thing.
make in the project root directory. It will install the necessary binary packages to bin/ directory, as well as install dependendcies$ ./bin/start_crawl [-numPages=<number of pages to be crawled>] [-startURL=<starting entry point for the crawler to crawl>] [-domainOnly=<whether webpages to be crawled only in the domain of given starting URL)]
$ ./bin/serverlocalhost:8080. The server is hosted on port 8080, or check the output of your terminal.