Simple ranking for new research based on your interests.
Install Presearcher by running:
$ pip install -r requirements.txt
$ python setup.py develop
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
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.
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