Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.02 KB

Total Recall Server

Requirements

MySQL Server v. 5.5+

Node.js v 5+

npm (Node Package Manager) v3.3.6+

Installation

  • Standard Node.js installation using npm
    • Navigate to the server directory and issue npm install on the command-line
  • Set up MySQL
    • Create the database, total_recall
    • Load the db template (util/tr.db.template) into this database
    • Add corpora, topics, and relevance assessments either manually or using the helper scripts in util/
      • Samples of each csv file are provided in util/samples
    • Insert group identifiers into trec_groups table to be used for authenticating requests
    • Insert the allowed modes for each trec_group into allowed_modes table (modes correspond to corpora, e.g. athome1)
    • Decide which modes you wish to allow online evaluation for by inserting them into eval_modes table

Running the server

The server is ran by issuing the command node server.js

  • By default, the server runs on 0.0.0.0:33333
  • To change these defaults, you will need to edit server/server.js