Created
January 14, 2012 13:28
-
-
Save l4u/1611418 to your computer and use it in GitHub Desktop.
heroku snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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