Skip to content

datacite/lupo

Folders and files

NameName
Last commit message
Last commit date
Jan 29, 2024
Feb 14, 2024
Sep 21, 2022
Jan 24, 2024
Oct 4, 2023
Dec 11, 2023
Dec 15, 2018
Jan 29, 2024
Mar 30, 2018
Jun 7, 2023
Mar 11, 2019
Nov 22, 2020
Jun 20, 2023
Apr 23, 2018
Mar 28, 2020
Nov 21, 2020
Feb 14, 2024
Nov 26, 2020
Jan 26, 2024
Jan 11, 2024
Jan 11, 2024
Aug 12, 2017
Nov 5, 2021
Nov 22, 2020
May 9, 2018
Nov 22, 2020
Nov 14, 2023
Nov 5, 2021
Apr 10, 2023
Jan 24, 2024

Repository files navigation

DataCite REST API

Identifier Release Maintainability Test Coverage

Rails API application for managing DataCite providers, clients, prefixes and DOIs. The API usesthe JSONAPI specification.

Installation

Using Docker.

docker run -p 8065:80 datacite/lupo

or

docker-compose up

If you want to build the docker image locally (instead of pulling it from docker hub) and use docker compose for development you can use

docker-compose -f docker-compose.yml -f docker-compose.local.yml

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

Development

For basic setup one can use the following:

bundle exec rake db:create
bundle exec rake db:schema:load
bundle exec rake db:seed:development:base

All other seed options can be found using rake --tasks

We use Rspec for testing:

bundle exec rspec

Note when using a fresh test database you will need to instantiate the test db with:

bundle exec rake db:create RAILS_ENV=test

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

Lupo is released under the MIT License.