pelagios / recogito2

Semantic Annotation Without the Pointy Brackets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recogito

Current version: v3.3

Home of Recogito - a Semantic Annotation tool for texts and images, developed by Pelagios Commons.

Prerequisites

  • Java 8 JDK
  • SBT (version 1.0.x)
  • node.js (version 10.4.1), along with npm (version 6.1.0) and the webpack and webpack-cli npm packages (install globally via npm install -g {package-name} )
  • PostgreSQL DB (tested with version 9.5)
  • ElasticSearch v5.6.5 (important: do not use ES v6.x, since this introduced breaking changes not compatible with the current version of Recogito)
  • To use image annotation, you need to have the vips image processing system installed. If vips is not available on the command line, Recogito is set to reject uploaded images as 'unsupported content'. (Note: on Ubuntu, 'libvips-tools' is the package you need.)

Installation

  • Clone this repository
  • Create a copy of the file conf/application.conf.template and name it conf/application.conf. Make any environment-specific changes there. (For the most part, the defaults should be fine.)
  • Create a database named 'recogito' on your Postgres DB server. (If you want a different name, adjust the settings in your conf/application.conf accordingly.)
  • Type npm install to download required JS dependencies
  • Type sbt run to start the application in development mode.
  • Point your browser to http://localhost:9000
  • Recogito automatically creates a single user with administrator privileges with username 'recogito' and password 'recogito'. Be sure to remove this user - or at least change the password - for production use!
  • To generate an Eclipse project, type sbt eclipse.

Importing gazetteers

You can import gazetteers through the administration dashboard.

  • Log in with a user that has admin privileges (such as the default 'recogito' user created automatically)
  • Point your browser to http://localhost:9000/admin/authorities
  • Click Add Authority File to upload a gazetteer (see our Wiki for information on supported data formats).

Running in production

  • When running in production you must define a location where Recogito can store user files, using an absolute path. The relevant property in the conf/application.conf file is recogito.upload.dir.
  • To test production mode before deploying, type sbt runProd
  • To change to a different port (than default 9000), type sbt "runProd -Dhttp.port=9876"
  • For full production deployment, refer to the current Play Framework docs
  • Be sure to set a random application secret in conf/application.conf. Play includes a utility to generate one for you - type sbt playGenerateSecret.
  • Last but not least: another reminder to remove the default 'recogito' admin user - or at least change its password!

Contributing to development

If you want to contribute to the development of Recogito, do get in touch with us with your ideas via commons@pelagios.org. Or want to contribute and don't know where to start? The easiest way to get started is by helping out with the translation of the user interface and help resources. Check the Wiki for more information.

Acknowledgements

Recogito was developed predominantely as part of the Pelagios 6 & 7 research projects. Investigative team:

  • Elton Barker
  • Leif Isaksen
  • Rebecca Kahn
  • Rainer Simon
  • Valeria Vitale

License

Recogito is licensed under the terms of the Apache 2.0 license.

About

Semantic Annotation Without the Pointy Brackets

License:Apache License 2.0


Languages

Language:Scala 51.6%Language:JavaScript 26.1%Language:HTML 14.2%Language:Less 6.7%Language:Emacs Lisp 0.6%Language:NewLisp 0.4%Language:Shell 0.2%Language:Dockerfile 0.1%Language:Python 0.1%Language:CSS 0.0%