Uploading your app to Heroku

Uploading your app to Heroku

Rails Girls Frankfurt 2015 Talk by Sönke Ohls

37f941943817785d0d2ccce1e63cd476?s=128

Rails Girls Frankfurt

September 19, 2015
Tweet

Transcript

  1. The most essential feature of the internet

  2. The most essential feature of the internet is to publish

    to the world
  3. Sönke Ohls (@freizeitnerd) | Heroku Talk | Rails Girls Frankfurt

    a.M. :date => 2015-09-19 :slide => 3
  4. publish your code Sönke Ohls (@freizeitnerd) | Heroku Talk |

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

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

    Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 6
  7. 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
  8. get started Sign up at heroku.com Sönke Ohls (@freizeitnerd) |

    Heroku Talk | Rails Girls Frankfurt a.M. :date => 2015-09-19 :slide => 8
  9. 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
  10. let me show that by live coding

  11. 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