Skip to content
This repository

Replicate the features of GrinnellPlans.com

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rubocop.yml
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.rdoc

Grinnell Plans

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:annaswims/GrinnellPlans.git
    cd GrinnellPlans
  5. Install the gems that are specified in Gemfile

    bundle install
  6. Create the database (specified in database yml) and seed it with data

    rake db:setup (can also be done with 'bundle exec rake db:schema:load')

Rails Project Tasks

  • Start the server (GrinnellPlans will be at localhost:3000):

    rails server
  • Run the tests:

    bundle exec rake spec
  • To use the Rails console (for debugging, playing with data, etc):

    rails console

Other Helpful Tasks

  • To generate diagrams (in doc/):

    rake diagram:all

    diagrams are also generated after rake db:migrate.

  • To annotate models (that is, to add the column info to the models as comments):

    annotate
  • To pretty up the display of data when you're using the console:

    Hirb.enable
Something went wrong with that request. Please try again.