Skip to content

ShawnMcCool/meetup-raffle-machine

 
 

Repository files navigation

AmsterdamPHP - Meetup.com Raffler

This application enables us to raffle off stuff to our meetup attendees. It uses the Meetup.com API to get all check ins, and then uses the Random.org API to randomly select winners.

Installation

Install into a virtual machine. (Linux and OSX users only)

Ensure that VirtualBox, Vagrant, and Ansible are installed.

  1. git clone git@github.com:AmsterdamPHP/meetup-raffle-machine.git --recursive

  2. run vagrant up

  3. create config/parameters.yml (get your API key from meetup.com)

    meetup_group:   amsterdamphp
    meetup_api_key: YOUR_MEETUP_API_KEY
    
  4. (from within the machine) composer install to install composer dependencies

  5. (from within the machine) compass compile to compile styles

  6. add the following to your /etc/hosts file

    10.10.10.10 app.local
    

All done! Now you can access the application at http://app.local/.

Install directly onto your host machine.

  1. Get code

  2. Give permissions

    sudo chmod -Rf +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" cache logs
    sudo chmod -Rf +a "<apache user> allow delete,write,append,file_inherit,directory_inherit" cache logs
    
  3. Install Dependencies

    gem update --system
    gem install compass
    gem install susy
    
  4. Compile stylesheets

    compass compile
    
  5. Create config/parameters.yml

    meetup_group:   amsterdamphp
    meetup_api_key: YOUR_MEETUP_API_KEY
    

How to use it

  1. Open the app index page to be presented with a list of meetups.
  2. Click on a meetup.
  3. Press [space] or [page down] to start raffles.

The page down key allows us to use most presentation remotes as well.

About

A Raffle machine that integrates into Meetup.com for raffling amongst people in the room.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.2%
  • PHP 37.0%
  • CSS 8.2%
  • Ruby 2.6%