Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Uploading your app to Heroku

Uploading your app to Heroku

Rails Girls Frankfurt 2015 Talk by Sönke Ohls

Rails Girls Frankfurt

September 19, 2015
Tweet

More Decks by Rails Girls Frankfurt

Other Decks in Education

Transcript

  1. publish your code Sönke Ohls (@freizeitnerd) | Heroku Talk |

    Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 4
  2. publish your app Hosting Server Production Environment Sönke Ohls (@freizeitnerd)

    | Heroku Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 5
  3. Production Environment publish your app Sönke Ohls (@freizeitnerd) | Heroku

    Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 6
  4. get started # Gemfile group :development do gem 'sqlite3' end

    group :production do gem 'pg' gem 'rails_12factor' end Prepare Gemfile Sönke Ohls (@freizeitnerd) | Heroku Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 7 Dont forget to bundle install Development Production
  5. get started Sign up at heroku.com Sönke Ohls (@freizeitnerd) |

    Heroku Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 8
  6. Production Environment publish your app Sönke Ohls (@freizeitnerd) | Heroku

    Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 9 1. Create the app online (just once) $> heroku create 2. Push/update your app online $> git push heroku master It is just 2 steps
  7. Production Environment wrap-up 1. Sign up at heroku.com 2. Prepare

    your Gemfile 3. In the console: $> heroku create $> git push heroku master # Gemfile group :development do gem 'sqlite3' end group :production do gem 'pg' gem 'rails_12factor' end Sönke Ohls (@freizeitnerd) | Heroku Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 11