StanfordHCI/foundry — pull request #77 by dretelny (2014-11-18 17:46:01+00:00)
Title: Dr configvars

I removed all of the private keys in several files and added them to the heroku as config files. I also resolved the javascript issue (you can't access ENV files via JS) by including them a in partial JS file. Finally, I reset our keys in GDRIVE, reset our secret key in rails and created a new URL for the firebase URL (although note the keys included in the global vars partial are visible if you view the html source when page renders).

I also added ability to load keys locally through a file not tracked in git. Note you need to add the app_env_vars.rb file into your config/initializers folder.

When reviewing this pull request, you need to do two things (note that you need to start the team in order to test gdrive):
1) Add the app_env_vars.rb file to your config/initializers folder and then run local host and make sure that your firebase chat still works (also if your drive worked locally before, check to see if your gdrive works still locally, mine never did so I can't check this)
2) Go to http://foundry-app-dev.herokuapp.com/ and make sure the firebase chat still works as well as gdrive

ok that's all!