= Kernul, A generic web platform for Ruby.
Kernul is a semi-centralized, highly extensible, and easy to manage generic web platform written in Ruby. Better documentation will come in version 1.1.0.
== Installation
=== Archive Installation
rake install
=== Gem Installation
Make sure that you have installed jchris-couchrest from github before installing Kernul.
gem install kernul
== Usage
require 'rubygems'
require 'kernul'
require 'mongrel' # This can be any Rack handler
url = 'kernul.com'
db = 'localhost:5984/kernul'
host = '0.0.0.0'
port = 80
Kernul::Base.new(:url => url, :db => db, :host => host, :port => port, :handler => Rack::Handler::Mongrel).start
This will start up a Rack server. If you would only like to create the Rack class because your host requires a Rackup file, simply
remove the <tt>start</tt> call at the end of the last line. You can also remove the <tt>:host</tt>, <tt>:port</tt>, and <tt>:handler</tt>
options. See Kernul::Base for more details.
== Meta
Written by Alex Kern
Copyright (c) 2008-2009 Alex Kern
Released under the MIT License
Kernul is a semi-centralized, highly extensible, and easy to manage generic web platform written in Ruby. Better documentation will come in version 1.1.0.
== Installation
=== Archive Installation
rake install
=== Gem Installation
Make sure that you have installed jchris-couchrest from github before installing Kernul.
gem install kernul
== Usage
require 'rubygems'
require 'kernul'
require 'mongrel' # This can be any Rack handler
url = 'kernul.com'
db = 'localhost:5984/kernul'
host = '0.0.0.0'
port = 80
Kernul::Base.new(:url => url, :db => db, :host => host, :port => port, :handler => Rack::Handler::Mongrel).start
This will start up a Rack server. If you would only like to create the Rack class because your host requires a Rackup file, simply
remove the <tt>start</tt> call at the end of the last line. You can also remove the <tt>:host</tt>, <tt>:port</tt>, and <tt>:handler</tt>
options. See Kernul::Base for more details.
== Meta
Written by Alex Kern
Copyright (c) 2008-2009 Alex Kern
Released under the MIT License