CMS for Cloud.
Note Lokka 1.0.0 has migrated from DataMapper to ActiveRecord. If you are upgrading from v0.6.0 or earlier, please see the Migration Guide.
CMS written in Ruby for cloud computing.
$ git clone git://github.com/lokka/lokka.git
$ cd lokka
$ bundle install --without=production:test
$ bundle exec rake db:setup
$ bundle exec rackupView at: http://localhost:9292/
See the Deployment Guide for production deployment instructions using Kamal.
$ docker-compose build
$ docker-compose run --rm app bundle exec rake db:setup
$ docker-compose upopen http://localhost:9292 on your browser.
rake testMake a directory for theme in public/theme and you need to create entries.erb and entry.erb at least. (erb and haml are available.)
public/theme/example/entries.erb:
Example
public/theme/example/entry.erb:
Example
Lokka Plugin is subset of Sinatra Extension. but Lokka had a specific rules of nomenclature. If you need display "Hello, World" when access to "/hello", Write a following.
public/plugin/lokka-hello/lib/lokka/hello.rb:
module Lokka::Hello
def self.registerd(app)
app.get '/hello' do
'hello'
end
end
endCopyright (c) 2010 Masaki Komagata. See LICENSE for details.
No open issues yet, or sync has not completed.