Sign inSign up

datacite/lagottino

By datacite

Updated over 7 years ago

DataCite Event Data API

Image
0

10K+

datacite/lagottino repository overview

DataCite Event Data API

This repository has been archived, as functionality is now included in datacite/lupo.

Build Status Docker Build Status Maintainability Test Coverage

Installation

Using Docker.

docker run -p 8085:80 datacite/lagottino

or

docker-compose up

You can now point your browser to http://localhost:8085 and use the application. Some API endpoints require authentication.

To populate the database and index with resources:

bundle exec rake elasticsearch:event:create_index
bundle exec rake elasticsearch:event:import
bundle exec rake event:index

To delete events by subj-id, for example events with subj-id 'https://doi.org/10.1007/s10680-018-9485-1':

bundle exec rake event:detete_by_sub_id[https://doi.org/10.1007/s10680-018-9485-1]

Development

We use Rspec for testing:

bundle exec rspec

Follow along via Github Issues.

Note on Patches/Pull Requests
  • Fork the project
  • Write tests for your new feature or a test that reproduces a bug
  • Implement your feature or make a bug fix
  • Do not mess with Rakefile, version or history
  • Commit, push and make a pull request. Bonus points for topical branches.

License

Lagottino is released under the MIT License.

Tag summary

Content type

Image

Digest

Size

735.8 MB

Last updated

over 7 years ago

docker pull datacite/lagottino