Skip to content
Mitchell Mastromonaco edited this page Feb 17, 2020 · 19 revisions

Annotation Platform

Installation

Backend installation and start-up

  1. Install dependencies: npm, postgresql (make sure md5 connexion are enabled).
  2. Change config file: server/config/default.json, to match port, username and password of your postgresql.
  3. Create an empty postgres database named as the value of the field database.database of the config file.
  4. Populate the database with npm run seeding-standard.
  5. Start the server with npm run prod (or with npm start for development).

The default admin login is root, password: test.

Python CLI installation and start-up

  1. Go to the cli/ folder and execute :
python3 setup.py install
  1. Start the cli with:
python3 cli_interactive.py

(Optionally, you can pass the server address as an argument. The default address is http://localhost:5050)

For more information about the CLI: see the CLI wiki.

Clone this wiki locally