This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
rotoscop /
README
Rotoscop
========
Rotoscop is a minimalistic CMS that allows you to create pages and put
elements inside this page, with different styles and format.
------------------------------------------------------------------------------
To see all available tasks for Rotoscop run:
rake -T slices:rotoscop
------------------------------------------------------------------------------
Instructions for installation:
file: config/init.rb
# add the slice as a regular dependency
dependency 'rotoscop'
# if needed, configure which slices to load and in which order
Merb::Plugins.config[:merb_slices] = { :queue => ["Rotoscop", ...] }
# optionally configure the plugins in a before_app_loads callback
Merb::BootLoader.before_app_loads do
Merb::Slices::config[:rotoscop][:option] = value
end
file: config/router.rb
# example: /rotoscop/:controller/:action/:id
add_slice(:Rotoscop)
# example: /:lang/:controller/:action/:id
add_slice(:Rotoscop, :path => ':lang')
# example: /:controller/:action/:id
slice(:Rotoscop)
Normally you should also run the following rake task:
rake slices:rotoscop:install
------------------------------------------------------------------------------
You can put your application-level overrides in:
host-app/slices/rotoscop/app - controllers, models, views ...
Templates are located in this order:
1. host-app/slices/rotoscop/app/views/*
2. gems/rotoscop/app/views/*
3. host-app/app/views/*
You can use the host application's layout by configuring the
rotoscop slice in a before_app_loads block:
Merb::Slices.config[:rotoscop] = { :layout => :application }
By default :rotoscop is used. If you need to override
stylesheets or javascripts, just specify your own files in your layout
instead/in addition to the ones supplied (if any) in
host-app/public/slices/rotoscop.
In any case don't edit those files directly as they may be clobbered any time
rake rotoscop:install is run.







