Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonmagic/openhouse

A 3 page web app we use once or twice a year for our open house. It allows people to enter their contact info, and then we select random winners from that pool of information. Written using ruby, sinatra, and datamapper.
https://github.com/jonmagic/openhouse

Last synced: 30 days ago
JSON representation

A 3 page web app we use once or twice a year for our open house. It allows people to enter their contact info, and then we select random winners from that pool of information. Written using ruby, sinatra, and datamapper.

Awesome Lists containing this project

README

        

h2. OpenHouse by SabreTech

We use this app once or twice a year at our open houses, to collect names, phones, emails, and addresses. At the end of the open house we access the "random" url to pick winners for our prize drawings.

h3. Required gems?

* sinatra
* haml
* dm-core
* dm-timestamps
* sqlite3-ruby
* do_sqlite3

h3. Server

I used Passenger with REE, but anything rack compliant will work. For testing I installed the "thin" gem and just ran /opt/ree/bin/ruby openhouse.rb and it started a server at localhost:4567.