onto-mongo is an ontology mapping/querying application for mongoDB that parses SPARQL queries and uses a mapping to access a mongoDB database, using Ruby on Rails and ActiveModel.
- ruby 2.3.0
- rails 5
- Docker
Docker must be installed. See: how to install docker
To build the docker images, run:
$ docker-compose build
To run the rails web container and the mongoDB database container, run:
$ docker-compose up
Run:
$ docker-compose run web rake db:setup
There is no need to run migrations on MongoDB.
To seed the database with initial values:
$ docker-compose run web rake db:seed
To create mongoDB indices, run:
$ rake db:mongoid:create_indexes
Run rails tests suite via $ rake
.
TODO