a proof of concept for a kiosk app to add users to a mailing list or check them in at an event
Hipchat room for tonights event: https://www.hipchat.com/gvNsQ0cJQ
========== Steps for setting up the basic app :
The most recent version of these steps found here : http://slides.com/brian915/bootstrap-an-app-with-constant-contact--2
- it will utilize AppConnect - Constant Contact's Developer API Developers will need to setup a Mashery Account to get an API key :
https://constantcontact.mashery.com/io-docs
- Clone your fork to your local machine.
- cd Bootstrap-Kiosk-App/config/initializers/
- mv _secret_tokens.rb.example _secret_tokens.rb (note this file is git-ignored so you don't accidently put your private keys on github)
- cd ../../; bundle installl
- Run 'rake secret' to generate a new rails secret key.
- Paste this key into '_secret_tokens.rb' on the line: BootstrapKioskApp::Application.config.secret_key_base
- Sign up for an API key through mashery: https://constantcontact.mashery.com/
- Create a new application by clicking API Keys, then Applications
- Make sure to enter the following for the 'Redirect URI for OAuth calls' : http://localhost:3000/users/auth/constantcontact/callback
- Enter the api key and secret key into: _secret_tokens.rb file.
- rake db:create
- rake db:migrate
- If you don't have a Constant Contact account, register for one account, and verify your account email address.
- If you DO have a CTCT account, you will need to know the email address associated with that account.
- Start your rails server : 'rails s'.
- Load "Localhost:3000", Click 'sign in'.
- Enter your constantcontact login information. ( your username should be the email address you signed up with )
- Success!
Keep in mind that if other people work on your app they will need a copy of your _secret_tokens file, which should not be in github.