Skip to content

Instantly share code, notes, and snippets.

@trivektor
Created October 30, 2011 03:56
Show Gist options
  • Select an option

  • Save trivektor/1325451 to your computer and use it in GitHub Desktop.

Select an option

Save trivektor/1325451 to your computer and use it in GitHub Desktop.
Create app using Cedar stack on Heroku
Precompile assets for Heroku
RAILS_ENV=production bundle exec rake assets:precompile
//Copied from http://jeremyjbarth.blogspot.com/2011/10/rails-31-asset-pipeline-on-heroku.html
heroku create app_name --addons custom_domains -r git_remote -s cedar
heroku run rake db:migrate --app app_name
heroku domains:add www.your_domain.com --app app_name
change dns entry to point to app_name.heroku.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment