| | |
|
|
|
Installing and configuring: Command Line Interface
Project Zero can be installed and run strictly from the command line, without
any reliance on Eclipse.
Prerequisites
The following prerequisites are required to use the command line tools:
Installation
- Download the
zero-<version>.zip (for windows platform) or zero-<version>-bin.tar.gz (for UNIX like platform) file from CLI Download. Accept the license agreement then right click zero-<version>-bin.zip or tar.gz to download it depending on your platform.
- Unzip
zero-<version>.zip into any directory. The root directory after unzipping will be called zero-<version>, we will refer to this directory as <zerohome>.
- Add
<zerohome> 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
zero seed to load your local repository with the core Project Zero libraries.
- 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 sample. Log messages indicating that the HTTP adapter has started (for example xxxxxx running on port 8080) are displayed.
- From the browser type http://localhost:8080/. A page indicates that Zero is running.
|
|
r21 - 13 Dec 2007 - 21:25:22 - jeffo
|
|
|
| | |