Skip to content

Legacy geaccirc database for historical purposes

Notifications You must be signed in to change notification settings

pulibrary/geaccirc

Repository files navigation

README

This repository runs https://geaccirc.princeton.edu/ and https://geaccirc-staging.princeton.edu/. The staging environment is only available on VPN.

Requirements

  • Bundler 2.2.27
  • Ruby 3.1.2

Deployment

This application is deployed via capistrano. Locally for example cap production deploy or BRANCH=name cap production deploy

Local set up

  1. Bundle install

    bundle install
    
  2. create the database

    bundle exec rake db:create
    bundle exec rake db:migrate
    
  3. load the database (must be on VPN)'

    scp  deploy@geaccirc1.princeton.edu:circ_updated.txt .
    bundle exec rake db:seed
    

Run the tests

The test are run via rspec:

bundle exec rspec

About

Legacy geaccirc database for historical purposes

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published