Pinball Map
Ruby HTML JavaScript CSS
Latest commit c94fa0b Dec 28, 2016 @scottwainstock committed on GitHub Merge pull request #558 from RyanTG/master
only portland admin can edit location type
Failed to load latest commit information.
app only portland admin can edit location type Dec 20, 2016
bin heroku rails4 compatibility Aug 10, 2014
db add db indexes Nov 2, 2015
lib do not send super admin email update from notify_admins task Oct 25, 2016
script initial cucumber install Oct 29, 2010
.gitignore add simplecov and coveralls support Aug 10, 2014
.rubocop.yml fix rubocop style issues Nov 5, 2015
.travis.yml change default travis test to bundle exec rake Sep 7, 2014
Capfile rubocop compliance Sep 7, 2014
Gemfile.lock upgrade rails_admin gem Nov 6, 2014
Procfile switch to puma Feb 25, 2013 coveralls badge Aug 10, 2014
Rakefile README: Added Mac setup instructions Dec 19, 2013

Build Status Coverage Status

sweet pinballin' brah

API Documentation

Available here:

Mac Enviroment Setup

Below is a summary of the steps that Brian Hanifin undertook to get the site up and running on OS X 10.9. If you would like to contribute, and have any trouble, please ask.

  • Follow the Ruby install instructions at Make sure you also download ruby-1.9.3.
  • cd /Projects-Path/
  • git clone (I used the SourceTree app instead.)
  • cd /Projects-Path/pbm
  • rvm --default use ruby-1.9.3
  • bundle install
  • selenium install
  • brew update && brew install phantomjs
  • Create config/database.yml with the following:
    adapter: postgresql
    encoding: utf8
    database: pbm_dev
    template: template0
    host: localhost

test: &test
    adapter: postgresql
    encoding: utf8
    database: pbm_test
    template: template0

    adapter: postgresql
    encoding: utf8
    database: pbm
    username: root
    template: template0

    <<: *test
  • brew install postgresql
  • initdb /usr/local/var/postres -E utf8
  • Download Postgres App. (I have mine run at startup on my "Dev" profile.)
  • bundle exec rake db:create ; RAILS_ENV=test bundle exec rake db:create
  • bundle exec rake db:migrate ; RAILS_ENV=test bundle exec rake db:migrate
  • bundle exec rspec
  • rake doc:app (I think this generates documentation for the app, which sounds helpful for later.)
  • curl | sh
  • cd ~/.pow
  • ln -s /Projects-Path/pbm
  • Edit change run Pbm::Application to Pbm::Application (Workaround: so Pow can run the site.)
  • open

If the site loads properly it will be an empty version of, then ask Scott for a data dump so you can have a full set of data to work with.