This application leverages ORCID services and ORCID iDs for researchers in the Princeton community.
Update the file config/banner.yml
. Note that each environment can have its own banner text.
@mailinator.com
(e.g. myname@mailinator.com
) even though you do not need to put @mailinator.com
in the search boxmyname@mailinator.com
) to register an account at https://sandbox.orcid.org/registermailinator.com
cd
asdf plugin add ruby
asdf plugin add node
asdf plugin add yarn
asdf install
brew install gpg
ruby-install
and chruby
(instead of asdf
):
ruby-install 3.2.0 -- --with-openssl-dir=$(brew --prefix openssl@1.1)
chruby 3.2.0
ruby --version
bundle install
yarn install
We use lando to run services required for both test and development environments.
Start and initialize database services with:
bundle exec rake servers:start
To stop database services:
bundle exec rake servers:stop
or lando stop
bundle exec rspec spec
RUN_IN_BROWSER=true bundle exec rspec spec
bundle exec rails server
bundle exec ./bin/vite dev
(within another terminal)foreman
gem install foreman
bundle exec foreman start
(this runs the Rails server and Vite simultaneously)You need to have the following variables in your environment to connect with the ORCID sandbox. Actual values are in lastpass under "ORCID Local API key". export ORCID_CLIENT_ID="xxx" export ORCID_CLIENT_SECRET="xxx"
RDSS uses the same release and deployment process for all projects.
You can view the ORCID Honeybadger Uptime check. Currently it checks every minute and will report downtime when two checks fail in a row (i.e. we should know within 2 minutes).
To be notified of downtime enable notifications in Honeybadger under: Settings + Alerts & Integrtions + email (Edit). Enable notifications for "Uptime Events" for "ORCID Production". Notice that email notifications settings are per project.
In compliance with ORCID's general brand guidance around capitalization of the ORCID organization name and ORCID identifier information, we use the following written style to refer to ORCID and ORCID identifiers: