Changeset View
Changeset View
Standalone View
Standalone View
src/docs/installation_guide.diviner
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| Now that you have all that stuff installed, grab Phabricator and its | Now that you have all that stuff installed, grab Phabricator and its | ||||
| dependencies: | dependencies: | ||||
| $ cd somewhere/ # pick some install directory | $ cd somewhere/ # pick some install directory | ||||
| somewhere/ $ git clone git://github.com/facebook/libphutil.git | somewhere/ $ git clone git://github.com/facebook/libphutil.git | ||||
| somewhere/ $ git clone git://github.com/facebook/arcanist.git | somewhere/ $ git clone git://github.com/facebook/arcanist.git | ||||
| somewhere/ $ git clone git://github.com/facebook/phabricator.git | somewhere/ $ git clone git://github.com/facebook/phabricator.git | ||||
| somewhere/ $ cd phabricator | |||||
| somewhere/phabricator/ $ git submodule update --init | |||||
| = Installing APC (Optional) = | = Installing APC (Optional) = | ||||
| Like everything else written in PHP, Phabricator will run much faster with APC | Like everything else written in PHP, Phabricator will run much faster with APC | ||||
| installed. You likely need to install "pcre-devel" first: | installed. You likely need to install "pcre-devel" first: | ||||
| sudo yum install pcre-devel | sudo yum install pcre-devel | ||||
| ▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
| See <https://bugs.php.net/bug.php?id=59747> for more information. | See <https://bugs.php.net/bug.php?id=59747> for more information. | ||||
| = Updating Phabricator = | = Updating Phabricator = | ||||
| Since Phabricator is under active development, you should update frequently. To | Since Phabricator is under active development, you should update frequently. To | ||||
| update Phabricator: | update Phabricator: | ||||
| - Stop the webserver. | - Stop the webserver. | ||||
| - Run `git pull && git submodule update --init` in `libphutil/`, | - Run `git pull` in `libphutil/`, `arcanist/` and `phabricator/`. | ||||
| `arcanist/` and `phabricator/`. | |||||
| - Run `phabricator/bin/storage upgrade`. | - Run `phabricator/bin/storage upgrade`. | ||||
| - Restart the webserver. | - Restart the webserver. | ||||
| For more details, see @{article:Configuration Guide}. You can use a script | For more details, see @{article:Configuration Guide}. You can use a script | ||||
| similar to this one to automate the process: | similar to this one to automate the process: | ||||
| http://www.phabricator.com/rsrc/install/update_phabricator.sh | http://www.phabricator.com/rsrc/install/update_phabricator.sh | ||||
| = Next Steps = | = Next Steps = | ||||
| Continue by: | Continue by: | ||||
| - configuring Phabricator with the @{article:Configuration Guide}. | - configuring Phabricator with the @{article:Configuration Guide}. | ||||