Replicate the features of GrinnellPlans.com
Ruby CSS HTML JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
lib
public
spec
vendor/assets
.codeclimate.yml
.gitignore
.hound.yml
.rspec
.rubocop.yml
.ruby-version
.travis.yml
CONTRIBUTING.markdown
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.rdoc
Rakefile
config.ru
docker-compose.yml
local-development-using-docker.md

README.rdoc

Grinnell Plans

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

Quickstart

If you're already comfortable with Docker, you can use that instead. See the Docker setup guide.

  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