| | |
|
|
|
Installing and configuring: Command Line Interface
Prerequisites
The following prerequisites are required to use the command-line tools:
Installation
- Download the file
zero.tools-<version>.zip from CLI Download.
- Unzip
zero.tools-<version>.zip into any directory. This results in a subdirectory called zerohome that contains shell scripts for the Zero command-line interface.
- Add the
zerohome directory to the PATH environment variable.
- Add the
bin directory under the JDK installation directory to the PATH environment variable.
Getting started
- Open the command prompt and change directories to
zerohome.
- Type one of the following:
-
zero create demo - To create a new Groovy-based Project Zero application
-
zero create demo -template zero:zero.php.application.template - To create a PHP-based Project Zero application.
- Change the directory to
zerohome/apps/demo.
- Type
zero run to run the application. Log messages indicating that the HTTP stack has started are displayed.
- Browse to http://localhost:8080/, where you're greeted by a welcome page that indicates your application is running.
|
|
r23 - 07 Feb 2008 - 20:09:28 - madhu
|
|
|
| | |