Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/advanced_configuration.diviner
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | return array( | ||||
'mysql.pass' => 'hunter2trustno1', | 'mysql.pass' => 'hunter2trustno1', | ||||
); | ); | ||||
== Selecting a Configuration File == | == Selecting a Configuration File == | ||||
To select a configuration file, write the name of the file (relative to | To select a configuration file, write the name of the file (relative to | ||||
`phabricator/conf/`) to `phabricator/conf/local/ENVIRONMENT`. For example, to | `phabricator/conf/`) to `phabricator/conf/local/ENVIRONMENT`. For example, to | ||||
select `phabricator/conf/custom/exampleconfig.conf.php`, you would write | select `phabricator/conf/custom/exampleconfig.conf.php`, you would write | ||||
"custom/exampleconfig" to `phabrictor/conf/local/ENVIRONMENT`: | "custom/exampleconfig" to `phabricator/conf/local/ENVIRONMENT`: | ||||
phabricator/ $ echo custom/exampleconfig > conf/local/ENVIRONMENT | phabricator/ $ echo custom/exampleconfig > conf/local/ENVIRONMENT | ||||
phabricator/ $ cat conf/local/ENVIRONMENT | phabricator/ $ cat conf/local/ENVIRONMENT | ||||
custom/exampleconfig | custom/exampleconfig | ||||
phabricator/ $ | phabricator/ $ | ||||
You can also set the environmental variable `PHABRICATOR_ENV`. This is more | You can also set the environmental variable `PHABRICATOR_ENV`. This is more | ||||
involved but may be easier in some deployment environments. Note that this needs | involved but may be easier in some deployment environments. Note that this needs | ||||
Show All 27 Lines |