Skip to content

Commit 07696e9

Browse files
author
epriestley
committedAug 3, 2011
Improve documentation for specifying env vars
Summary: This syntax is somewhat obscure and awkward, try to document it more completely in the location users are most likely to run into it for the first time. Test Plan: Generated documentation: https://secure.phabricator.com/file/view/PHID-FILE-ba958fd365e5312d9077/ Reviewers: codeblock, egillth, jungejason, tuomaspelkonen, aran CC: Differential Revision: 775
1 parent b288b49 commit 07696e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎src/docs/configuration/upgrade_schema.diviner

+8-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ To upgrade your database schema to the latest version, just run this command:
1515

1616
PHABRICATOR_ENV=<your_config> path/to/phabricator/scripts/sql/upgrade_schema.php
1717

18-
This will install all the patches that are new since you installed, or since the last time you ran this script.
18+
NOTE: Make sure you put 'PHABRICATOR_ENV=...' at the beginning of the line, not
19+
in the middle. The shell won't parse environmental variables declared after the
20+
command. You can also ##export PHABRICATOR_ENV=...## in your ~/.bashrc or
21+
~/.profile or similar, depending on which shell you use and how your system is
22+
configured.
23+
24+
This will install all the patches that are new since you installed, or since the
25+
last time you ran this script.
1926

2027
If your configuration uses an unprivileged user to connect to the database, you
2128
may have to override the default user so the schema changes can be applied with

0 commit comments

Comments
 (0)
Failed to load comments.