A Raffle machine that integrates into Meetup.com for raffling amongst people in the room.
PHP JavaScript HTML CSS Shell ApacheConf
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ansible @ 536a412
cache
config
logs
source
src
templates
tests/unit/Raffle
web
.gitignore
.gitmodules
.varci.yml
LICENSE
README.md
Vagrantfile
circle.yml
composer.json
composer.lock
deploy.php
gulpfile.js
package.json
phpunit.xml.dist
post-install.sh

README.md

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
    

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

    composer install
    npm install
    
  4. Compile assets

    ./node_modules/.bin/gulp
    
  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.