Copyright © Xerox Corporation, Codendi Team, 2001-2006. All Rights Reserved In order to install Tuleap's Command Line Interface (CLI), you must have PHP5 installed on your local machine (CLI won't work with PHP4). The latest PHP 5 version is highly recommended. Also, PHP must be compiled without the --disable-cli parameter in order to create the PHP binaries. You must check in which directory you have your PHP binary installed. The directory is the prefix that was specified when compiling PHP (if no prefix was defined, it defaults to /usr, so the PHP binary is located in /usr/bin/php).
Once you have PHP properly installed, you must download and uncompress the CLI to a directory in your local machine. Once you've uncompressed the CLI, you must edit $PREFIX/tuleap.php (where $PREFIX is the directory in which the CLI was uncompressed) using your favorite editor and change the following:
After everything is properly set up, you must test the installation works correctly. For this, try logging into the server by issuing a "login" command. For this, change your current working directory to the directory in which you uncompressed the CLI and execute the following:
Example 1. login command
The message you see may vary depending on the configuration of your server. If you get an error like "Fatal error: wsdl error: HTTP ERROR: Couldn't open socket connection to server http://tuleap.net prior to connect().", it means that your computer can't connect to the Tuleap server. In this case, you must make sure the address is written correctly and that you can access the server from your computer.
Copyright © Xerox Corporation, Codendi Team, 2001-2006. All Rights Reserved |