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: 3 months 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.
- Host: GitHub
- URL: https://github.com/jonmagic/openhouse
- Owner: jonmagic
- Created: 2008-07-18T13:13:11.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2010-07-10T12:44:17.000Z (almost 15 years ago)
- Last Synced: 2025-01-31T13:43:48.744Z (5 months ago)
- Language: Ruby
- Homepage: http://www.sabretechllc.com
- Size: 207 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.textile
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. ServerI 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.