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

herokuを用いたruby on rails on cloudアプリケーションの開発 #TechLunch

herokuを用いたruby on rails on cloudアプリケーションの開発 #TechLunch

2011/05/11 (水) @ Livesense TechLunch
発表者:桂 大介

E60aa4f80303f3f386898546ddb3686a?s=128

Livesense Inc.
PRO

April 23, 2014
Tweet

Transcript

  1. Heroku Heroku を用いた を用いた Ruby on Rails on Cloud Ruby

    on Rails on Cloud アプリケーションの開発 アプリケーションの開発 katsura@livesense.co.jp
  2. ?

  3. pronounced „her-OH-koo”

  4. Hero + Haiku

  5. Cloud Platform as a Service

  6. compare with...

  7. Rails or Rack 専用 Ruby PaaS

  8. 続きは web で!

  9. http://www.heroku.com/

  10. i nst ant depl oym ent pur e gi t

    wor kf l ow com pl et e API Features
  11. i nst ant depl oym ent $ heroku create appname

    $ heroku open
  12. pur e gi t wor kf l ow $ git

    push heroku
  13. complete API $ heroku addons:add memcached $ heroku rake db:migrate

    $ heroku workers +2
  14. Deploy rails application $ rails new glasscity $ cd glasscity

    $ bundle install $ rake db:create $ rails generate scaffold Post name:string title:string content:text $ rake db:migrate $ git init $ heroku create glasscity $ git add . $ git commit $ git push heroku master $ heroku rake db:migrate $ heroku open
  15. the next theme is ...

  16. None
  17. 次回テーマ Facebook RoR Application on Heroku