Skip to content

Instantly share code, notes, and snippets.

View earth2marsh's full-sized avatar

Marsh Gardiner earth2marsh

View GitHub Profile
@earth2marsh
earth2marsh / Heroku + Apigee - Local development set up.rb
Created November 5, 2010 12:54 — forked from empika/Heroku + Apigee - Local development set up.rb
How to set up your local development machine to use the Apigee Heroku or Facebook add-on
# How to set up your local development machine to use the Apigee Heroku or Facebook add-on
if ENV['APIGEE_TWITTER_API_ENDPOINT']
@@twitter_api = ENV['APIGEE_TWITTER_API_ENDPOINT']
else
# Get this value from Heroku.
# Once you have enabled the addon, boot up the 'heroku console' and run the following:
# puts ENV['APIGEE_TWITTER_API_ENDPOINT']
# (or replace with the configvar of your Apigee endpoint according to the relevant add-on, see their docs)
# this will spit out your correct api endpoint