- Install Summary
- Version 0.0.1
bundle config local.curo <path to your local repo>
bundle config disable_local_branch_check trueCopy and run curo migrations:
rails g curo:installTo run curo cms, you need to include the curo css and js in admin mode:
= curo_stylesheet_link_tag
= curo_javascript_include_tagTo run the curo navigation bar in admin mode, include following line at the top of in your body-tag:
= curo_frame do
yieldTo append the App (Backbone Router):
class MyApp extends Curo.AppClass
routes: ->
_.extend(super(), {
# own routes here
'personalRoute': 'personalMethod'
}
)
initialize: ->
super()
# own implementations here
personalMethod: ->
# own route implementation here
Never forget to call super() on overwriten functions.
And then assign App.
Curo.AppClass = MyAppSee https://github.com/coffeedoc/codo
Installation:
npm install -g codoGenerate docs
codoView docs
open doc/js/index.htmlnginx