The Open Access (OA) Waiver service provides faculty and researchers with the ability to submit and manage access to publications managed by the Scholarly Communications Office. Currently, Princeton aims to ensure that all published scholarly articles are released under the Open Access Policy, and as such, are available to the general public. This service ensures that faculty and researchers may submit waivers which may restrict access to any articles which may be (or have been) released as Open Access articles.
ruby 3.2.3node.js 22.13.1
Please install Gem dependencies with the following:
$ bundle installPlease install NPM dependencies with the following:
$ yarn installStart and initialize database services with rake servers:start
To stop database services: rake servers:stop or lando stop
$ bundle exec foreman startThen, please access the application using http://localhost:3000/
$ bundle exec rake db:setupIn order to deploy the Rails app. to the staging environment, please invoke:
$ bundle exec cap staging deployTo create a tagged release use the steps in the RDSS handbook
Please note that mail will not be delivered on the stagig server. This is expected behavior.
In order to reindex the data models into the Solr Collection, please invoke the following:
$ bundle exec rake oawaiver:solr:reindexFor reindexing on the remote server environments, please invoke:
$ bundle exec cap $RAILS_ENV oawaiver:solr:reindexFor adding administrative privileges, please use the following:
$ bundle exec rake oawaiver:accounts:add_admin_role[$NET_ID]For removing administrative privileges, please invoke:
$ bundle exec rake oawaiver:accounts:remove_admin_role[$NET_ID]$ bundle exec cap staging oawaiver:accounts:add_admin_role[$NET_ID]$ bundle exec cap staging oawaiver:accounts:remove_admin_role[$NET_ID]