Installation / Setting up Demo  

Setting up Demo

Since this Manual features numerous examples that use demo data, we strongly recommend you create a demo database to connect it to the installed application in order to be able to re-run the described steps and better understand the instructions therein contained.

To create a demo database, please specify its parameters in the cfg/database.cfg.php configuration file. For Windows, you should also do the same in the external/setup/setup.bat file. Then execute the following command:

For Linux:
./setup.sh makedemo

For Windows:
setup.bat makedemo

Edit the core_const.cfg.php config file by commenting the following string:

define ("STAT_DEMO_CLIENT_GMT_OFFSET", 600);

This is required to force setting of a client time zone for your demo DB reported results to match the ones described in this manual.

To uninstall the demo database, please make sure that the parameters specified in cfg/database.cfg.php and external/setup/setup.bat point to it and then execute the following commands:

For Linux:
./setup.sh dropdemo

For Windows:
setup.bat dropdemo

In order to switch from the demo DB back to the main working database, restore the original parameters in the cfg/database.cfg.php, cfg/core_const.cfg.php and external/setup/setup.bat files.