SpaghettiSearch
1.0.0
Golangの上に構築された完全に機能する検索エンジンは、HKUST COMP4321要件を満たすために、Golangを使用してバックエンドとして構築され、フロントエンドとして反応します。
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 、インストールされている依存関係が正しいベンダーの正しいバージョンであることを確認するために、パッケージ管理として使用されます。 Project Rootで必要なパッケージをインストールするか、 go get ./...実行しdep ensure 。/...を実行します。
makeます。必要なバイナリパッケージをbin/ディレクトリにインストールし、DependCiesをインストールします$ ./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にアクセスしてください。サーバーはポート8080でホストされているか、端末の出力を確認してください。