Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 685 Bytes

README.rst

File metadata and controls

47 lines (26 loc) · 685 Bytes

poky-engine

A simple search engine in python using Tornado, Scrapy, Redis and MongoDB

Requirements

Redis

MongoDB

Installation

pip install tornado Scrapy redis pymongo jieba stemming

Run

Crawl

cd /path/to/poky_spider

scrapy crawl PokySpider url # defautl start url is http://www.seu.edu.cn

Build inverse table

cd /path/to/indexer

python InverseTable.py

Compute PageRank

cd /path/to/indexer

python PageRank.py

Run Web Server

python app.py # default url is http://localhost:8888

Help

python app.py --help