Broadcast on Broadcast off
The Documentation for Project Zero has moved. Please update your bookmarks to: http://www.projectzero.org/documentation/
Table of
Contents...
Hide
 

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

  1. 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.
  2. 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>.
  3. Add <zerohome> to the PATH environment variable.
  4. Add the bin directory under the JDK installation directory to the PATH environment variable.

Getting started

  1. Open the command prompt and change directories to <zerohome>.
  2. Type zero seed to load your local repository with the core Project Zero libraries.
  3. 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.
  4. Change the directory to <zerohome>/apps/demo.
  5. 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.
  6. From the browser type http://localhost:8080/. A page indicates that Zero is running.

r21 - 13 Dec 2007 - 21:25:22 - jeffo
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site