Download CartoWeb Documentation
Transcript
Installation generated files. --cvs-root CVS Root directory to use when fetching CartoWeb/project out of CVS. --fetch-from-cvs Fetch CartoWeb from CVS and install it in the current directory, or in the directory given by the --install-location parameter. NOTE: You must be located where cartoweb3 directory will be created, not inside like other commands. --cartoweb-cvs-option OPTIONS A string which will be given to the cvs checkout command of cartoweb (not projects!). For instance, to fetch a specific branch, use '-r MY_BRANCH'. Or for a specific date, use '-D "2005-09-05 11:00"'. --fetch-from-dir DIRECTORY Copy CartoWeb from the specified directory into the current directory, or in the directory given by the --install-location parameter. NOTE 1: You must be located where cartoweb3 directory will be created, not inside like other commands. NOTE 2: You may either use a path relative to the target cartoweb3 directory or an absolute path. --install-location Directory where to install CartoWeb (when using --fetch-from-cvs/dir options). --delete-existing --no-symlinks Overwrite existing directories if any. Do not use symbolic links, even if your operating system supports them. --config-from-file FILE Location of a configuration file for automatic variable replacement in .in files. NOTE: You may either use a path relative to the target cartoweb3 directory or an absolute path. --config-from-project PROJECT Read the configuration file containing variables to replace in .in files from the specified project. --fetch-project-cvs PROJECT Fetch the given project from CVS (see --cvs-root option). --fetch-project-dir DIRECTORY Fetch the given project from a directory. --default-project PROJECT --base-url BASEURL --profile PROFILENAME Default project to use (this is set automatically if using --config-from-project). URL where you can find client.php. The profile to use (development/production/custom). --clean-views Clean views (must be used with --clean). 1.1.3.2. Examples of Use 1.1.3.2.1. Basic Setup To perform a basic setup of CartoWeb, such as if you want to run the demo project, type: <PHP-INTERPRETER> cw3setup.php --install --base-url http://www.example.com/cartoweb In this example, http://www.example.com/cartoweb is the address which corresponds to the cartoweb3/htdocs directory. You should find client.php if you type this URL. 1.1.3.2.2. Installing a Project from a Directory 19