ݺߣ

ݺߣShare a Scribd company logo
PaaS          CMS Lokka
   Masaki Komagata FJORD, LLC
komagata
FJORD
@komagata


@machida
Cloud        PaaS   CMS
        Lokka
Heroku
Web
      Heroku
Web
      Heroku

?
Web
             Heroku

?
?
      capistrano
Web
             Heroku

?
?
      capistrano

?
Heroku


? Help me, hackers!
  (http://help-me-hackers.com)

? Ham Cutlet
  (http://hamcutlet.fjord.jp)

? Next Holiday
  (http://holiday.fjord.jp)

? MAKES THIS
  (http://makesthis.com)
WordPress
Lokka
Lokka
? WordPress   Heroku
Lokka
? WordPress   Heroku

? WordPress            PHP
Lokka
? WordPress   Heroku

? WordPress               PHP



?                      Rubyist
WordPress
Heroku Lokka
$ git clone git://github.com/komagata/lokka.git
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ heroku apps:create
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ heroku apps:create
$ git push heroku master
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ heroku apps:create
$ git push heroku master
$ heroku rake db:setup
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ heroku apps:create
$ git push heroku master
$ heroku rake db:setup

                           Lokka
$ git clone git://github.com/komagata/lokka.git
$ cd lokka
$ heroku apps:create
$ git push heroku master
$ heroku rake db:setup
$ heroku apps:open
                           Lokka
PaaSCMS Lokka
Admin login (user / password : test / test)
PaaSCMS Lokka
PaaSCMS Lokka
PaaSCMS Lokka
Heroku
Lokka
1.   DB
1.          DB

 ? RDB, KVS, Document   DB, etc...
1.           DB

 ? RDB, KVS, Document DB, etc...
 ? MySQL, PostgreSQL, SQLite, Redis
1.             DB

 ? RDB, KVS, Document DB, etc...
 ? MySQL, PostgreSQL, SQLite, Redis
     ActiveRecord      Datamapper
                memcached        API
                (   DB Adapter         )
PaaSCMS Lokka
?   Heroku GAE
           PaaS   MySQL
?         Heroku GAE
                   PaaS            MySQL



? KVS          object    Marshal
             aggregate
    KVS
?           Heroku GAE
                       PaaS            MySQL



? KVS              object    Marshal
                 aggregate
    KVS

? ActiveRecord
2.
2.


?
2.


?
?
    picasa
2.


?
?
    picasa

? PaaS       OSS
3.   API
3.               API

? WordPress
              API
3.                           API

? WordPress
              API

?                   erb, haml, slim, erubis
<h1><%= @site.title %><h1>
<% @posts.each do |post| %>
  <h2><%= post.title %></h2>
  <%= post.body %>
  <a href="<%= post.category.link %>">
    <%= post.category.name %>
  </a>
<% end %>
4.
4.

 ? Lokka Plugin   Sinatra Extension
4.

 ? Lokka Plugin   Sinatra Extension



 ? Ruby
     WordPress
# lokka/hello.rb:
module Lokka::Hello
  def self.registered(app)
    app.get '/' do
      'hello'
    end
  end
end

                    hello
hello
Lokka
1.
1.
?
1.
?
?
1.
?
?
?
1.
?
?
?        #^^


?
2.
2.


? CGI   Rack
2.


? CGI   Rack

?
2.


? CGI    Rack

?
? PaaS
3.
3.


     ? WordPress   Jenkins   1
3.


     ? WordPress   Jenkins   1




     ? PaaS
3.


     ? WordPress   Jenkins   1




     ? PaaS

     ?
Lokka
Heroku Lokka




        X
X

More Related Content

PaaSCMS Lokka

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n