| | |
|
|
|
Installing and configuring: Command Line Interface
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. Download the Command-line interface (CLI) from CLI Download and 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 zero libraries
- Type
zero create demo to create a new Groovy-based Zero application. Or zero create demo -template zero:zero.php.application.template if want to create a PHP-based Zero application.
- Change the directory to
<zerohome>/apps/demo.
- Type
zero run to run the sample.
- You should see some log messages indicating that the HTTP adapter has started (e.g. xxxxxx running on port 8080).
- From the browser type http://localhost:8080/.
- You should see a page indicating that Zero is running!
|
|
r20 - 25 Jan 2008 - 14:04:04 - paynel
|
|
|
| | |