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.1.3
- Rails 7.1.4
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 [email protected]:circ_updated.txt . bundle exec rake db:seed
The test are run via rspec:
bundle exec rspec