Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Latest commit

 

History

History
47 lines (33 loc) · 1.62 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.62 KB

Vote Wichita

This is a project by Open Wichita and KMUW to better inform Wichita citizens on upcoming ballot issues.

Stack

Get Started

Use rvm! The version and gemset should be ruby-2.2.2@vote-wichita.

$ git clone [email protected]:openwichita/vote-wichita.git
$ cd vote-wichita
$ gem install bundler && bundle
$ bundle exec rake db:migrate db:seed
$ bundle exec rails s

Then visit http://localhost:3000/admin and log in with '[email protected]' and 'password'. Home page will be at http://localhost:3000.

Plan

Check out the Google Doc!

Todos

  • Add some model validations
  • Set up RSpec and Guard
  • Plan / customize admin dashboard

Test Setup

We are using rspec for tests in this application, along with a few other tools

  • database_cleaner - Cleans the test db in between specs
  • factory_girl - Best way to set up dynamic instances of models for tests
  • annotate - Puts schema annotations for models at the top of relevant files
  • faker - Generates fake values for common things in factories and otherwise
  • guard - Watches files and auto-runs relevant tests.