Tool for searching the ISNI registry by name and adding one or more ISNIs to ORCID profile as as external identifiers.
This is a project by ORCID EU labs and ODIN - ORCID and DataCite Interoperability Network.
The application is built with the ultra-simple Ruby-based Sinatra framework and relies on the omniauth-orcid gem for connecting to the ORCID registry.
The Ruby app should work in a range of Ruby / webserver environments. We've found a micro-virtualization and devops based environment most useful for development work.
Here's how to quickly get up and running with a local virtual box using the provided Vagrant and Chef configuration:
- Ruby
- git
- Vagrant: http://www.vagrantup.com
- Chef: http://www.opscode.com/chef/
- Virtualbox: https://www.virtualbox.org
git clone [email protected]:ORCID-EU-Labs/ISNI-ORCID.git
cd DataCite-ORCID
gem install librarian-chef
librarian-chef install
vagrant plugin install vagrant-omnibus
cp config/settings.yml.example config/settings.yml
vagrant up
Note: You'll seed to populate the client secret and client id in settings.yml.
If you don't see any errors from the last command, you now have a properly
configured Ubuntu virtual machine running ISNI-ORCID
. You can point your
browser to http://localhost:8080
.
Production deployments (AWS) w/vagrant-aws
Set environment variables:
Variable | Notes |
---|---|
AWS_ACCESS_KEY | See AWS docs |
AWS_SECRET | See AWS docs |
AWS_TAGS_NAME | Name of server |
SSH_KEY_PATH | Location of SSH key used to access instance |
Run vagrant up
vagrant up --provider=aws
The MIT License (OSI approved, see more at http://www.opensource.org/licenses/mit-license.php)
=============================================================================
Copyright (C) 2013 by ORCID EU
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=============================================================================