Host your Ruby on   Rails CMS on the   cloud – for free!Michalis Polakis, TaratsaCamp, Chania 7/7/2001
about me     Michalis Polakis  => csd.uoc.gr, ins1@cwi.nl,soundcloud.com, filoxena.com         => photos    => entrepreneu...
about this talk         => ruby       => on Rails     => refinery cms          => git        => cloud        => heroku=> p...
ruby        => user friendly=> dynamic, reflective, garbage    collected, interpreted  => jruby, ironruby, macruby
Ruby examples
ruby on rails=> open source web app framework=> Model-View-Controller (MVC)=> Convention over Configuration  –   Reduce de...
model view controller
refinery cms=> most popular rails cms=> “follows the rails (3) way”=> simple, modular, extendable=> good enough
git=> distributed revision control system=> by Linus for Linus=> every Git working directory is a full-fledged repository ...
basic git workflow (from scratch) $ cd (project-directory) $ git init $ (add some files) $ git add . $ git commit -m first...
heroku=> user friendly web appdeployment/management/scaling  –   rack apps(rails, sinatra)x, node.js, clojure=> sits on to...
heroku cont.=> basic package can get you a longway=> read-only filesystem=> git-based deployment
putting the pieces together=> prerequisites : ruby, rubygems, rails,sqlite3/mysql, git$ gem install refinerycms heroku=> s...
putting the pieces together cont.$ git init$ git add .$ git commit -m “first commit!”$ heroku create$ git push heroku mast...
references=> wikipedia=> ruby-lang.org, rubyonrails.org=> refinerycms.com=> git-scm.com=> heroku.com=> http://devcenter.he...
thanks!
Ruby on Rails CMS - on the cloud
Ruby on Rails CMS - on the cloud
Upcoming SlideShare
Loading in …5
×

Ruby on Rails CMS - on the cloud

1,598 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,598
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Ruby on Rails CMS - on the cloud

  1. 1. Host your Ruby on Rails CMS on the cloud – for free!Michalis Polakis, TaratsaCamp, Chania 7/7/2001
  2. 2. about me Michalis Polakis => csd.uoc.gr, ins1@cwi.nl,soundcloud.com, filoxena.com => photos => entrepreneurship
  3. 3. about this talk => ruby => on Rails => refinery cms => git => cloud => heroku=> put the pieces together
  4. 4. ruby => user friendly=> dynamic, reflective, garbage collected, interpreted => jruby, ironruby, macruby
  5. 5. Ruby examples
  6. 6. ruby on rails=> open source web app framework=> Model-View-Controller (MVC)=> Convention over Configuration – Reduce decisions. If Order model => orders db table=> Dont Repeat Yourself (DRY) – Every piece of knowledge must have a single, unambiguous, authoritative representation
  7. 7. model view controller
  8. 8. refinery cms=> most popular rails cms=> “follows the rails (3) way”=> simple, modular, extendable=> good enough
  9. 9. git=> distributed revision control system=> by Linus for Linus=> every Git working directory is a full-fledged repository with complete historyand full revision tracking capabilities=> independent of network access orcentral server
  10. 10. basic git workflow (from scratch) $ cd (project-directory) $ git init $ (add some files) $ git add . $ git commit -m first commit
  11. 11. heroku=> user friendly web appdeployment/management/scaling – rack apps(rails, sinatra)x, node.js, clojure=> sits on top of AWS – goes down when AWS goes down=> easy to migrate away from – no lock-in=> stack promotes best practices
  12. 12. heroku cont.=> basic package can get you a longway=> read-only filesystem=> git-based deployment
  13. 13. putting the pieces together=> prerequisites : ruby, rubygems, rails,sqlite3/mysql, git$ gem install refinerycms heroku=> set your heroku credentials/ssh keys$ refinerycms mysimplecms –heroku=> edit Gemfile, add “ gem rake, ~> 0.8.7 ”$ bundle update
  14. 14. putting the pieces together cont.$ git init$ git add .$ git commit -m “first commit!”$ heroku create$ git push heroku master$ heroku rake db:migrate
  15. 15. references=> wikipedia=> ruby-lang.org, rubyonrails.org=> refinerycms.com=> git-scm.com=> heroku.com=> http://devcenter.heroku.com/articles/quickstart=> cloud photo courtesy of jonicdao(www.flickr.com/photos/jonicdao/3450233884)
  16. 16. thanks!

×