Skip to content

Latest commit

 

History

History
executable file
·
47 lines (30 loc) · 1.13 KB

README.rst

File metadata and controls

executable file
·
47 lines (30 loc) · 1.13 KB

Caleido, a Research Intelligence platform

https://travis-ci.org/jascoul/caleido.svg?branch=master

This is a work-in-progress, research project from Erasmus University Library Rotterdam.

Setting up Caleido

  • Install Python3.4 or newer

  • Install PostgreSQL 9.5 or newer

  • Clone the repository, create a virtualenv, install dependencies:

    git clone https://github.com/jascoul/caleido.git
    cd caleido
    virtualenv --python=python3 .
    source bin/activate
    pip install -e .
  • Create a PostgreSQL database with the same user/password as the caleido.ini file (Have a look at the psql commands in the travis.yaml file)

  • Initialize the database with the initialize_db script:

    initialize_db caleido.ini

Tests

  • Install dependencies:

    pip install tox pytest webtest
  • Run the unittests:

    pytest tests

Starting the API server