This repository runs https://geaccirc.princeton.edu/ and https://geaccirc-staging.princeton.edu/. The staging environment is only available on VPN.
- Bundler 2.4.5
- Ruby 3.3.6
- Rails 7.2.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@geaccirc2.princeton.edu:circ_updated.txt . bundle exec rake db:seed
The test are run via rspec:
bundle exec rspec