This CLI command deploys a packaged application (.zpk) on Zend Server.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-p |
--pkgfile |
Full path to the packaged application (.zpk). |
Required |
-b |
--baseUrl |
Base URL to deploy the application to. |
Required |
-a |
--appName |
User defined application identifier. If not specified, the baseUrl parameter will be used. |
Optional |
-u |
--userParams |
Set values for user parameters defined in the package - space delimited (i.e.: "a=1 b=2"). |
Optional |
-d |
--defaultServer |
Set to TRUE to deploy the application on the default server (virtual host); the base URL host provided will be ignored and replaced with <default-server>. In case of a conjunction of this parameter and createVhost, the latter will be ignored. Default is FALSE. |
Optional |
-g |
--ignoreFailures |
Ignore failures during staging if only some servers reported failures (default is NOT to ignore errors) |
Optional |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
|
|
|
To use app-deploy:
/usr/local/zend/bin/zs-manage app-deploy --help
/usr/local/zend/bin/zs-manage app-deploy -p <path to .zpk> -b <base url> [optional parameters- see table above] -N <existing key name> -K <existing key secret> The application is deployed on Zend Server. APPINFO 2 http://<default-server>:80/sanity mtrig http://localhost/sanity staging SERVERAPPINFO 0 1.0.0 staging |
|
|
|
|
|
Related Links: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.