Created
February 21, 2014 20:00
-
-
Save mppatterson/9142241 to your computer and use it in GitHub Desktop.
Install Phabricator on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://www.phabricator.com/rsrc/install/install_ubuntu.sh | |
bash install_ubuntu.sh | |
sudo vim /etc/apache2/sites-enabled/000-default | |
################ | |
<VirtualHost *> | |
# Change this to the domain which points to your host. | |
ServerName codereview.localhost | |
# Change this to the path where you put 'phabricator' when you checked it | |
# out from GitHub when following the Installation Guide. | |
# | |
# Make sure you include "/webroot" at the end! | |
DocumentRoot /home/vagrant/phabricator/webroot | |
RewriteEngine on | |
RewriteRule ^/rsrc/(.*) - [L,QSA] | |
RewriteRule ^/favicon.ico - [L,QSA] | |
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] | |
</VirtualHost> | |
################ | |
sudo service apache2 restart | |
cd phabricator/ && ./bin/storage upgrade | |
# Add the following to your /etc/hosts: | |
127.0.0.1 codereview.localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment