0.0
No commit activity in last 3 years
No release in over 3 years
Configure Netzke modules as plugins for a Netzke app and link ExtJS library to boot
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 1.2.9

Runtime

>= 0.13.6
 Project Readme

NetzkeConfig

This task helps configure a Netzke app with Netzke submodules and optionally ExtJS for Netzke development and debugging.

Install

gem install netzke_config

Usage

Must be run frokm the root of a Rails 3 Netzke application.

+Display usage instructions+

netzke_config --help

Note: Ignore the double netzke_config after usage: (which is currently an "error" in Thor)

Usage examples

+Use defaults+

$ netzke_config

Clones netzke modules from 'skozlov' github account in ~/netzke/plugin-modules.

+Clone modules from specific github account+

$ netzke_config --account kmandrup

Clones netzke modules from 'kmandrup' github account in ~/netzke/plugin-modules.

+Specify location of netzke modules+

$ netzke_config ../my/place

Retrieves and places netzke modules in ../my/place.

+Create symbolic link to existing ExtJs library and force overwrite of all symbolic links+

$ netzke_config --force-links --extjs ~/code/ext-3.2.1/

+Force overwrite of local netzke modules by newly retrieved remote modules. Also forces overwrite of all symbolic links+

$ netzke_config --force-all --extjs ~/code/ext-3.2.1/

+Attempt download of ExtJs library if it doesn't exist+

$ netzke_config --overwrite-all --extjs ~/code/ext-3.2.1/ --download

+Detailed specifications of each module to include as plugin+

$ netzke_config --modules neztke_ar:master@skozlov,netzke_core:rails3@kmandrup

+Using config file for default modules specifications+

~/netzke/modules.config (default config file)

netzke_core:rails3@kmandrup

$ netzke_config --modules neztke_ar:master@skozlov

+Specifying custom config file for default modules specifications+

~/configurations/modules.config (default config file)

netzke-core:rails3@kmandrup, neztke-basepack:rails3@skozlov 

Modules specs in the modules option always override those found in the config file

$ netzke_config --modules neztke_ar:master@skozlov,neztke-basepack:rails3@kmandrup --config-file ~/configurations/modules.config

Copyright

Copyright (c) 2009 Kristian Mandrup