Replicate the features of GrinnellPlans.com
Ruby HTML CSS JavaScript
Pull request Compare This branch is 89 commits behind grinnellplans:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
bin
config Simple admin dashboard using Administrate framework Dec 7, 2015
db
doc
lib Remove annotation Rake task Sep 19, 2015
public Serve some images with pipeline Jan 23, 2012
spec Update autofingers on plan update Dec 7, 2015
vendor/assets/javascripts
.codeclimate.yml
.gitignore style and formatting changes suggested by rubocop. Nothing else Nov 22, 2013
.hound.yml Explicit Hound config for CI Sep 18, 2015
.rspec Use new helper file format for RSpec 3 Sep 11, 2015
.rubocop.yml Exclude a Rubocop rule in routes Oct 23, 2015
.ruby-version Upgrade to Ruby 2.2 Sep 11, 2015
.travis.yml Move to new Travis infrastructure Sep 11, 2015
CONTRIBUTING.markdown Better subtitle Jan 6, 2015
Gemfile Add link to Administrate docs Dec 7, 2015
Gemfile.lock Replace will_paginate with kaminari Dec 7, 2015
Procfile Add foreman to gem list, initial procfile Mar 27, 2013
README.rdoc Update rubocop path in README Nov 3, 2015
Rakefile Remove some development gems Sep 11, 2015
config.ru

README.rdoc

Grinnell Plans

Interested in helping out? More information in the Getting Started Guide!

Quickstart

  1. Install git.

  2. Install Ruby & Rails.

  3. Bundler will manage the gems for the project

    gem install bundler

    or

    sudo gem install bundler
  4. Checkout the project

    git clone git@github.com:grinnellplans/GrinnellPlans.git
    cd GrinnellPlans
  5. Install the gems that are specified in Gemfile

    bundle install
  6. Create the database and seed it with data

    rake db:setup

Rails Project Tasks

  • 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