
cherokee at cherokee-project
Aug 15, 2011, 3:22 AM
Post #1 of 1
(134 views)
Permalink
|
|
[6807] wizards2/doc: EXAMPLE.txt is now USAGE.txt
|
|
Revision: 6807 http://svn.cherokee-project.com/changeset/6807 Author: alo Date: 2011-08-15 12:22:51 +0200 (Mon, 15 Aug 2011) Log Message: ----------- EXAMPLE.txt is now USAGE.txt Added Paths: ----------- wizards2/doc/USAGE.txt Removed Paths: ------------- wizards2/doc/EXAMPLE.txt Deleted: wizards2/doc/EXAMPLE.txt =================================================================== --- wizards2/doc/EXAMPLE.txt 2011-08-15 10:11:40 UTC (rev 6806) +++ wizards2/doc/EXAMPLE.txt 2011-08-15 10:22:51 UTC (rev 6807) @@ -1 +0,0 @@ -PYTHONPATH=~/prog/cherokee/admin/CTK:~/prog/cherokee/admin/ ./cherokee-wizard install 02-Content\ Management\ Systems/wordpress.py config=/tmp/hh type=vserver app_dir=/tmp/app vserver_nick=example.com Added: wizards2/doc/USAGE.txt =================================================================== --- wizards2/doc/USAGE.txt (rev 0) +++ wizards2/doc/USAGE.txt 2011-08-15 10:22:51 UTC (rev 6807) @@ -0,0 +1,38 @@ +Usage +----- +cherokee-wizard <command> <wizard> [<param>=<value>] + +Commands +-------- +install - Performs an app installation + +Common parameters +----------------- +config - Path to the Cherokee configuration file to be modified. [required] + +type - Type of the installation. [required] + Accepted values: + * "vserver": Create a new virtual server for the app + * "directory": Install it inside a directory of an existing vserver + +app_dir - Local directory where the app should be deployed [optional] + +vserver_nick - Name of the new virtual server (if type=vserver) [required] + +fetch_app - URL/Path to the source package [optional] + Accepted values: + * "auto": Download the app automatically + * <URL>: Download certain source package + * <PATH>: User certain source package + +Example +------- +./cherokee-wizard install 02-Content\ Management\ Systems/wordpress.py \ +config=/tmp/cherokee.conf type=vserver app_dir=/tmp/wp_inst vserver_nick=example.com + + +TEMP +---- +PYTHONPATH=~/prog/cherokee/admin/CTK:~/prog/cherokee/admin/ \ +./cherokee-wizard install 02-Content\ Management\ Systems/wordpress.py \ +config=/tmp/hh type=vserver app_dir=/tmp/app vserver_nick=example.com
|