A realtime polling/voting tool
Switch branches/tags
1-setting-rails-up 5-creating-questions 6-creating-events 10-show-votes 13-adding-questions-to-events 14-adding-choices-to-questions 17-pusher-spike 25-add-questions-to-events 28-charts 29-depends-destroys 31-add-travis 38-adding-votes-to-choices 39-pusher-fake 39-set-up-pusher-fake 41-choice-validates-content 42-add-event-to-index 44-add-sign-out 48-audience-voting-route 50-event-question-pusher 51-make-blank-voting-page 54-add-links-everywhere 60-refactor-tests 61-controller-to-pusher 63-add-pusher-links-questions 65-controller-pusher-tests 67-update-voter-json 70-pusher-publish-trigger 71-no-of-questions 75-multiple-choices 76-rails-form 77-channel-event-linkup 79-test-publish_question 83-refactor 85-correct-event-id 87-question-form-jquery 89-voting-form 91-create-votes 93-add-basic-boot 95-ajax-send-choice 96-travis-legacy-fixes 98-move-JS 101-further-bootstrap 104-end2end-voting 107-pusher-fake 108-pusher-js-only 111-refactor 113-fixing-heroku-app-id 117-publish-button-redirection 124-perm 124-permissions 127-context-choices 128-travis-button 131-waffle-buttons 132-choice-validate-event-presence 132-choice-validate-question-presence 135-pusher-error-handling 136-choices-styling 137-add-delete-buttons 140-deletion-checks 142-favicon 145-root-conditionality 146-test-voter-recieves-question 151-test-graph 156-clear-votes 157-refresh-bug 158-clear-button 161-choice-validates-question-presence 164-pusher-refactor 168-question-number-bug-fix 169-ajax-event-create 169-build-new-event-forms 170-ajax-questions 172-coveralls 173-bootstrap-sass 176-file-rename 179-make-notifications 182-cleanup 185-new-choices-blank 190-choice-btn 191-id-box 192-replace-custom-css 193-delete-choice 194-README 199-edit-event 200-charts-new 201-edit-question-choices 205-colours 206-audience-charts 206-audience-graphs 206-take-two 207-twitter 212-move-event-id 214-UX 215-event-description 220-unhide-code-box 221-event-code-bug 222-chart-bug-fix 224-upcase-eventbox 227-sound 233-add-push-button 241-chrome-autofocus-removed 242-basic-colour-scheme 246-add-multicolours-charts 249-voting-page 254-js-caretaker 255-modal-wrapping 256-style-questions-new 261-style-question-show 271-voting-bars-and-buttons 276-style-events-page 278-add-logo-header 283-question-show-page-buttons 289-events-index-signed-in 292-events-signed-out 294-vote-bar-bug 296-style-login-signup 301-controller-refactoring 303-move-build_json 306-event-not-signed-in 309-safari-fix 404-etc Yorkshireman-patch-1 Yorkshireman-patch-2 home-animation master remove-css-typos
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.coveralls.yml
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
config.ru
logfile

README.md

Travis Build Coverage Status Cards in Waffle Cards Currently In Progress

#Live-Voting

Visit the live site here

Alt text

###Summary

  • Live-voting is a realtime polling/voting tool that can be used in situations which have one person speaking in front of an audience.
  • The primary benefit of using this tool is to get a quick heartbeat response from your audience. Or as we like to call it, a quick litmus test.
  • A few example usages:
    • Educational context
    • Conferences
    • Annual General Meetings
    • Conference calls

###For a more in depth overview of our journey as a team through this project, please see the corresponding wiki.

###Screenshots

charts_page


###Current Version Features

Speaker POV

  • Login/ Sign up
  • Create event
  • Create questions with multiple choices
  • Share voting link either through Twitter or share event ID with audience
  • Publish questions to audience (1 at a time)
  • Results shown live

Voter POV

  • Visit voting URL through Twitter's link or by using the event ID
  • Vote on one choice per question

###Installation/Testing Instructions:

####Local installation

git clone git@github.com:zlahham/live-voting.git
cd live-voting
bundle
bin/rake db:create RAILS_ENV=test
bin/rake db:create RAILS_ENV=development
bin/rake db:migrate RAILS_ENV=test
bin/rake db:migrate RAILS_ENV=development
bin/rails s

####Local Testing NOTE: You need to have Firefox installed if you want the tests to run properly, as we are using selenium-webdriver to run the JS tests. If you would like to use capybara-webkit instead, you can just uncomment line 23 in the Gemfile and comment line 24, followed by running bundle.

cd live-voting
rspec

###Technologies Used:

  • Production: Ruby on Rails, Javascript, jQuery, Pusher, Twitter Bootstrap, SASS, PostgreSQL, Heroku
  • Testing: RSpec, Capybara, Selenium, Factory Girl.

###Possible Future Improvements:

  • End event
  • Speaker can view summary
  • Speaker can export data to CSV.
  • Voter can view summary

###Team Members:

Andrew

Ben

Chris

Lewis

Zaid