123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?php
- /**
- * The manifest of files that are local to specific environment.
- * This file returns a list of environments that the application
- * may be installed under. The returned data must be in the following
- * format:.
- *
- * ```php
- * return [
- * 'environment name' => [
- * 'path' => 'directory storing the local files',
- * 'skipFiles' => [
- * // list of files that should only copied once and skipped if they already exist
- * ],
- * 'setWritable' => [
- * // list of directories that should be set writable
- * ],
- * 'setExecutable' => [
- * // list of files that should be set executable
- * ],
- * 'setCookieValidationKey' => [
- * // list of config files that need to be inserted with automatically generated cookie validation keys
- * ],
- * 'createSymlink' => [
- * // list of symlinks to be created. Keys are symlinks, and values are the targets.
- * ],
- * ],
- * ];
- * ```
- */
- return [
- 'Development' => [
- 'path' => 'dev',
- 'setWritable' => [
- 'appadmin/runtime',
- 'appadmin/web/assets',
- 'appapi/runtime',
- 'appapi/web/assets',
- 'appfront/runtime',
- 'appfront/web/assets',
- 'appfront/web/cn/assets',
- 'appfront/web/fr/assets',
-
- 'appfront/web/sitemap.xml',
- 'appfront/web/sitemap_es.xml',
- 'appfront/web/fr/sitemap.xml',
- 'appfront/web/cn/sitemap.xml',
- 'apphtml5/runtime',
- 'apphtml5/web/assets',
-
- 'apphtml5/web/sitemap.xml',
- 'apphtml5/web/sitemap_es.xml',
- 'apphtml5/web/fr/sitemap.xml',
- 'apphtml5/web/cn/sitemap.xml',
-
- 'appserver/runtime',
- 'appserver/web/assets',
- 'appimage/common/media/catalog/product',
- //'appapi/merge_config.php',
- //'appfront/merge_config.php',
- //'apphtml5/merge_config.php',
- //'appserver/merge_config.php',
- ],
- 'setExecutable' => [
- 'yii',
- 'tests/codeception/bin/yii',
- ],
- 'setCookieValidationKey' => [
- 'appadmin/config/main-local.php',
- 'appapi/config/main-local.php',
- 'appfront/config/main-local.php',
- 'apphtml5/config/main-local.php',
- 'appserver/config/main-local.php',
- ],
- ],
- 'Production' => [
- 'path' => 'prod',
- 'setWritable' => [
- 'appadmin/runtime',
- 'appadmin/web/assets',
- 'appapi/runtime',
- 'appapi/web/assets',
- 'appfront/runtime',
- 'appfront/web/assets',
- 'appfront/web/cn/assets',
- 'appfront/web/fr/assets',
-
- 'appfront/web/sitemap.xml',
- 'appfront/web/sitemap_es.xml',
- 'appfront/web/fr/sitemap.xml',
- 'appfront/web/cn/sitemap.xml',
-
- 'apphtml5/runtime',
- 'apphtml5/web/assets',
- 'apphtml5/web/cn/assets',
- 'apphtml5/web/fr/assets',
-
- 'apphtml5/web/sitemap.xml',
- 'apphtml5/web/sitemap_es.xml',
- 'apphtml5/web/fr/sitemap.xml',
- 'apphtml5/web/cn/sitemap.xml',
-
- 'appserver/runtime',
- 'appserver/web/assets',
- 'appimage/common/media/catalog/product',
- //'appapi/merge_config.php',
- //'appfront/merge_config.php',
- //'apphtml5/merge_config.php',
- //'appserver/merge_config.php',
- ],
- 'setExecutable' => [
- 'yii',
- ],
- 'setCookieValidationKey' => [
- 'appadmin/config/main-local.php',
- 'appapi/config/main-local.php',
- 'appfront/config/main-local.php',
- 'apphtml5/config/main-local.php',
- 'appserver/config/main-local.php',
- ],
- ],
- ];
|