This repository runs https://geaccirc.princeton.edu/ and https://geaccirc-staging.princeton.edu/. The staging environment is only available on VPN.
- Bundler 2.2.27
- Ruby 3.1.2
This application is deployed via capistrano. Locally for example cap production deploy
or BRANCH=name cap production deploy
-
Bundle install
bundle install
-
create the database
bundle exec rake db:create bundle exec rake db:migrate
-
load the database (must be on VPN)'
scp deploy@geaccirc1.princeton.edu:circ_updated.txt . bundle exec rake db:seed
The test are run via rspec:
bundle exec rspec