1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

minor changes to setup flow

Summary:
1. The setup flow complains if you haven't updated your schema, so that section
should be moved above the setup flow.

2. The setup flow tells you to lower your timeout, but it doesn't tell you how
low will make it stop complaining.

Test Plan:
Didn't test the setup.
Regenerated the docs and saw the change.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1888
This commit is contained in:
Craig Fratrik 2012-03-13 19:03:01 -07:00 committed by epriestley
parent 06ae6194cc
commit 4953c58c90
2 changed files with 9 additions and 9 deletions

View file

@ -145,6 +145,12 @@ For nginx, use a configuration like this:
}
}
= Upgrading Schema =
Now, it's time for you to upgrade the database schema -- see
@{article:Upgrading Schema}. You'll also need to do this after you update the
code in the future.
= Setup =
Now, restart your webserver and navigate to whichever subdomain you set up. You
@ -190,12 +196,6 @@ and override values from either the ##'production'## or ##'development'##
configurations. You should not edit the builtin configurations directly because
that will make upgrading Phabricator more difficult in the future.
= Upgrading Schema =
After you have configured Phabricator, you need to upgrade the database
schema -- see @{article:Upgrading Schema}. You'll also need to do this after you
update the code in the future.
= Next Steps =
Continue by:
@ -210,4 +210,4 @@ Continue by:
- configuring inbound mail with @{article:Configuring Inbound Email}; or
- importing repositories with @{article:Diffusion User Guide}; or
- learning about daemons with @{article:Managing Daemons with phd}; or
- contributing to Phabricator with @{article:Contributor Introduction}.
- contributing to Phabricator with @{article:Contributor Introduction}.

View file

@ -461,8 +461,8 @@ final class PhabricatorSetup {
if ($timeout > 5) {
self::writeNote(
"Your MySQL connect timeout is very high ({$timeout} seconds). ".
"Consider reducing it by setting 'mysql.connect_timeout' in your ".
"php.ini.");
"Consider reducing it to 5 or below by setting ".
"'mysql.connect_timeout' in your php.ini.");
}
self::write(" okay Trying to connect to MySQL database ".