MySQL Server v. 5.5+
Node.js v 5+
npm (Node Package Manager) v3.3.6+
- Standard Node.js installation using npm
- Navigate to the server directory and issue
npm install
on the command-line
- Navigate to the server directory and issue
- 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
- Create the database,
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