Code for v5 camptocamp.org (now obsolete)
PHP CSS JavaScript PLpgSQL Smarty Shell Other
Permalink
Failed to load latest commit information.
apps/frontend
batch
config also vary cache-content based on doc language Dec 4, 2016
data/sql add avalanche fields Oct 18, 2015
deployment
lib
mapdata revert Jan 19, 2016
misc
plugins for a personal image inserted in a collaborative doc, change the warn… Apr 6, 2016
scripts change volatile block-device name Nov 16, 2013
test transfert to public c2corg svn repository Dec 12, 2007
web
.gitignore
.gitmodules
COPYING
README
c2corg configure SF_ENVIRONMENT for some files Oct 21, 2014
symfony

README

LICENSE
=======

See attached COPYING file for license information.

INSTALLATION
============

Most setup can be performed by using the "c2corg" installer located at the project root.
An actions/options summary of this tool is available by typing:

$ php c2corg -h

Before launching the installer, create a deployment file of your own in the deployment/ directory by copying the default.ini reference and saving it under a dedicated name.
Then launch the --install action:

$ php c2corg --install --conf <your_deployment_filename>

This action will build configuration and i18n files as well as server-writeable directories. It will also install the required Symfony plugins.
In case you would simply like to refresh the configuration and i18n files, use the --refresh action:

$ php c2corg --refresh --conf <your_deployment_filename>

To build the JS files used by the map tools use the --build option (jstools must be installed):

$ php c2corg --refresh --conf <your_deployment_filename> --build

Creation of the database is available with the installer as well using the following commands:

$ cd scripts
$ ./reset_db.sh
$ cd ..
$ php c2corg --load-modules

To install some test data, rather type:
$ php c2corg --load-modules testdata

Please note that launching an initial --install or --refresh command is required before executing reset_db.sh because the latter script uses files generated by the installer.

To remove cache files, use the following command:

$ php c2corg --clean