CartoWeb 3.4.0
Download Now!

Advanced Geographical Information System for the Web

cw3setup.php is an install-and-maintenance script for CartoWeb, written in PHP. It works on many systems: Unix/Linux, Windows...

It is used to:

  • install CartoWeb and/or given projects from CVS

  • initially download CartoWeb librairies if not already available or outdated

  • refresh your setup after adding new projects or in some cases, new plugins
  • clean caches and generated files


An exhaustive list of commands and options of the cw3setup.php script is available in the manual.


cw3setup.php must be launched in a command line interface (DOS-like, shell) as an argument of the php command:

php cw3setup.php ...


Here is a list of tips concerning the script usage. It is not comprehensive and will be improved step by step.

Basic Installation

A simple CartoWeb setup or refresh is obtained by typing:

php cw3setup.php --install --base-url http://url/of/your/cartoweb/

Profile Setting

Since the production profile (cache activated etc.) is the default one. The latter command is equivalent to:

php cw3setup.php --install --base-url http://url/of/your/cartoweb/ --profile production

To deactivate caches, use the development profile:

php cw3setup.php --install --base-url http://url/of/your/cartoweb/ --profile development

Calling a Given Project

When no project is specified, the script runs for ALL the available projects. To restrict its action to a given project, use:

php cw3setup.php --install --base-url http://url/of/your/cartoweb/ --project my_project

CartoWeb Wiki: HowToUseCw3setup (last edited 2020-02-16 19:20:04 by AlexSaunier)

© 2002-2007 CartoWeb by Camptocamp SA - Wiki powered by MoinMoin