Interested in helping out? More information in the Getting Started Guide!
-
Install git.
-
Install Ruby & Rails.
-
Bundler will manage the gems for the project
gem install bundler
or
sudo gem install bundler
-
Checkout the project
git clone git@github.com:grinnellplans/GrinnellPlans.git cd GrinnellPlans
-
Install the gems that are specified in Gemfile
bundle install
-
Create the database and seed it with data
rake db:setup
-
Start the server
./bin/rails server
Open the app in a browser at localhost:3000. You can log in with any of the accounts listed in the seeds. The password is the same as the username for all development accounts.
-
Run the tests:
./bin/rspec spec
If you haven’t made any changes, all the tests should pass, or else you have found a bug.
-
To use the Rails console (for debugging, playing with data, etc):
./bin/rails console
-
Check for code style violations from mean old Rubocop:
./bin/rubocop