Skip to content

scottsbaldwin/happiness_poll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Happiness Poll

Measure the happiness of your team with this polling site! Take a test drive at http://happiness-poll.herokuapp.com/.

Local Setup

Clone the repository.

git clone [email protected]:scottsbaldwin/happiness_poll.git

Create a file called airbrake.env and populate the Airbrake variables.

export AIRBRAKE_PROJECT_ID=
export AIRBRAKE_PROJECT_KEY=

Source the env file and startup the application.

source airbrake.env
bundle install
export PORT=5000
foreman start web

Analytics

Google analytics is included, but in order to track properly, you will need to set environment variables for:

  • ANALYTICS_PROPERTY_ID: The Google Analytics property ID, e.g. UA-*
  • ANALYTICS_DOMAIN: The domain you are tracking, e.g. happiness-poll.herokuapp.com

If both variables are set, tracking will be included in the views. If at least one is missing, tracking will be excluded in the views.

If you deploy to Heroku, edit your app settings and create config variables for ANALYTICS_PROPERTY_ID and ANALYTICS_DOMAIN.

About

Measure the happiness of your team with this polling site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •