Skip to content

Configuration

Marek Sosnicki edited this page Nov 17, 2020 · 7 revisions

Requirements

Automated Search helper can run on any system which can provide the following:

  • python version 3.7 or higher
  • pip - package manager for python
  • chrome - browser is needed on server side because of the way how articles are downloaded
  • chromedriver - used to download webpages from articles publishers
  • tesseract with english language package installed - for OCR of PDFs

Installation

To install Automated Search Helper one shall clone the repository and then inside the repository run the following command:

$ python setup.py install

Proxy configuration

To download articles one needs an access to full article texts from supported publishers (e.g. IEEE). Automated Search Helper allows to configure proxy server which provides such access using pac script. To configure proxy you shall run the following command:

`$ python create_proxy_configuration.py --proxy_login="LOGIN" --proxy_password="PASSWORD" --pac_script=PAC_SCRIPT'

Where LOGIN and PASSWORD are credentials to proxy and PAC_SCRIPT is a location of script to access proxy server.

Running server

To run the server one shall first set environment variable FLASK_APP to value ArticlesServer (set/env for Windows export for Linux) and then run

$ flask run

Clone this wiki locally