[ * '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' => [ 'runtime', 'temp', 'log', 'web/assets', 'web/backend', 'web/backend/assets', 'web/uploads', 'web/robots.txt', 'web/sitemap.xml', ], 'setExecutable' => [ 'yii', ], ], 'Testing' => [ 'path' => 'test', 'setWritable' => [ 'runtime', 'temp', 'log', 'web/assets', 'web/backend', 'web/backend/assets', 'web/uploads', 'web/robots.txt', 'web/sitemap.xml', ], 'setExecutable' => [ 'yii', 'tests/codeception/bin/yii', ], ], 'Production' => [ 'path' => 'prod', 'setWritable' => [ 'runtime', 'temp', 'log', 'web/assets', 'web/backend', 'web/backend/assets', 'web/uploads', 'web/robots.txt', 'web/sitemap.xml', ], 'setExecutable' => [ 'yii', ], ], ];