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

Prerequisites

The following prerequisites are required to use the command-line tools:

Installation

  1. Download the file zero.tools-<version>.zip from CLI Download.
  2. 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.
  3. Add the zerohome directory 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 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.
  3. Change the directory to zerohome/apps/demo.
  4. Type zero run to run the application. Log messages indicating that the HTTP stack has started are displayed.
  5. 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
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site