SpaghettiSearch
1.0.0
hkust comp4321 요구 사항을 충족시키기 위해 Golang 위에 구축 된 완전히 기능하는 검색 엔진. 그것은 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 설치된 종속성이 올바른 공급 업체의 올바른 버전인지 확인하기 위해 패키지 관리로 사용됩니다. dep ensure 하여 필요한 패키지를 설치하거나 go get ./... 같은 것.
make 실행하십시오. 필요한 바이너리 패키지를 bin/ 디렉토리에 설치하고 부양 가족을 설치합니다.$ ./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에서 호스팅되거나 터미널의 출력을 확인합니다.