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

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. 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.
  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 zero libraries
  3. 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.
  4. Change the directory to <zerohome>/apps/demo.
  5. Type zero run to run the sample.
  6. You should see some log messages indicating that the HTTP adapter has started (e.g. xxxxxx running on port 8080).
  7. From the browser type http://localhost:8080/.
  8. You should see a page indicating that Zero is running!

r20 - 25 Jan 2008 - 14:04:04 - paynel
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site