-
add the following to your Gemfile:
gem 'rails_12factor' end``` `gem 'figaro'` -
run
bundle exec figaro install -
add ENV vars to
config/application.ymland call them fromconfig/secrets.yml -
deploy to Heroku with the following commands:
heroku creategit push heroku master(takes a little while)heroku run rake db:createheroku run rake db:migrateheroku open -
check on your app with the following:
heroku logs -t(tail the prod logs)heroku run bashplusrails cto run Rails console
Last active
February 29, 2016 23:57
-
-
Save cadyherron/19529124ddc5c0dcd617 to your computer and use it in GitHub Desktop.
How to deploy Rails app to Heroku with Figaro vars
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment