Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.23 KB

File metadata and controls

43 lines (30 loc) · 1.23 KB

Presearcher

Simple ranking for new research based on your interests.

Installation

Install Presearcher by running:

$ pip install -r requirements.txt
$ python setup.py develop

Testing

To test the installation, move into the test folder and run pytest. If all of the tests pass, you are good to go.

$ cd test
$ pytest

Setup

Before running presearcher, create your config file at ~/.presearcher.json. You can create this by copying the sample version in cofig/example_config.json then editing the file as needed.

$ cp config/example_config.json ~/.presearcher.json

This file stores the basic parameters about how presearcher operates, such as where it stores its data and how frequently it refershes data and retrains models.

Usage

To run presearcher, move into the frontend folder and run the script api.py. This will start a flask app that runs on port 8080. You can then access the web UI for presearcher from a browser.

$ cd frontend
$ python api.py
 * Serving Flask app "api" (lazy loading)
...
 * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)

With presearcher running, you can go to the address http://localhost:8080 in a browser to set up and use presearcher