Skip to content

Instantly share code, notes, and snippets.

@l4u
Created January 14, 2012 13:28
Show Gist options
  • Save l4u/1611418 to your computer and use it in GitHub Desktop.
Save l4u/1611418 to your computer and use it in GitHub Desktop.
heroku snippets
heroku create --stack cedar
heroku rename new_app
heroku create new_app --stack cedar
heroku addons:add logging:expanded
heroku addons:upgrade logging:expanded
http://devcenter.heroku.com/articles/mongolab
heroku addons:add mongolab:starter
config/mongoid.yml
production:
uri: <%= ENV['MONGOLAB_URI'] %>
http://devcenter.heroku.com/articles/memcache
heroku addons:add memcache
http://devcenter.heroku.com/articles/redistogo
heroku addons:add redistogo
uri = URI.parse(ENV["REDISTOGO_URL"])
REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
http://devcenter.heroku.com/articles/ssl
heroku addons:add piggyback_ssl
http://devcenter.heroku.com/articles/custom-domains
heroku addons:add custom_domains
heroku domains:add www.example.com
heroku addons:add blitz:250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment