Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Configure a Netzke app with Netzke plugins and ExtJS library for development/debugging

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 wiki
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 netzke_config.gemspec
README.markdown

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

Something went wrong with that request. Please try again.