Administrators/Setup.php

Options for setup.php
php setup.php --help Usage: Usage: php setup.php [--extdir= ]* [--config= ] [--option=key:value]* [sitecode]


 * --config= (optional) : Path to the directory with additional configuration files. This is most often used for alternative resource.php files that contains the configuration for database access.
 * --extdir= (optional) : Path to the directory where one or more additional Arcavias extensions are stored. You can add more than one --extdir parameter to hand over several directories.
 * --option=key:value (optional) : Sets the configuration option value for the given key, e.g. "--option=setup/default/demo:1" for inserting the demo data into the default site. The "--option" parameter can be used as often as configuration options should be set.
 * sitecode (optional, default is "default") : This is the code for different sites (which corresponds to the code column in the mshop_locale_site table), a unique identifier for a shop instance inside the Arcavias database. This parameter must always be the last one.

Valid values for sitecode are


 * default : Sets up the database with default data necessary to run Arcavias. This site code can be omitted because it's set as default value in the script
 * unittest : Sets up the database and writes the unit test data to the database
 * unitperf : Sets up the database and writes the performance test data to the database