You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open your ~/.profile or ~/.bashrc or whatever you use
Add the following line
export PATH="$HOME/WWW/tools/arcanist/bin:$PATH"
Save the file
Back in the terminal
Reload your profile/bashrc source ~/.profile
Test out your arc installation arc help
Make a change to a project
cd ~/WWW/prototypes
git clone [email protected]:charden/ideal-data-models.git
git checkout -b feature/test-branch
# 1. make a change to a file:
# 2. commit the change: git commit -am "made a change in order to test phabricator reviews"
# 3. create an archanist dif to send to phabricator
arc dif
# 4. you may need to authenticate first, follow the instructions to authenticate
# 5. you may need to enter a Summary, Test Plan, Reviewers, and Subscribers
# Summary: "this should have automatically pulled in your commit message"
# Test Plan: "some example test plan text that tells you how to test this work"
# Reviewers: charden, (first-initial + last-name)
# Subscribers: taoki, rrojas, msomo, etc
# 6. follow in-terminal instructions (something something cntrl + x, yes, press-enter)
Add the following rule, changing the DocumentRoot to match location of your Phabricator repo
```
<VirtualHost *>
# Change this to the domain which points to your host.
ServerName phabricator.local.nfl.com
# 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 /Users/christian.harden/WWW/tools/phabricator/webroot
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
</VirtualHost>
## Allow access to the entire WWW directory
<Directory "/Users/christian.harden/WWW">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ServerName localhost
```
cd ~/Downloads
# what version of PHP are you running? Replace "5.4.30" with your own php version
php -v
# Download PHP source
wget -O php-5.4.30.tar.gz http://php.net/get/php-5.4.30.tar.gz/from/this/mirror
# Deflate source
tar -zxvf php-5.4.30.tar.gz
# Make + install pcntl
cd php-5.4.30/ext/pcntl/
phpize && ./configure && make install
# Copy the install into your php extensions directory
sudo cp modules/pcntl.so /usr/lib/php/extensions/
# Update php.ini with new extension
sudo echo "extension=pcntl.so" >> /etc/php.ini
# Restart and test
sudo apachectl restart
/usr/bin/php --ri pcntl
# It should say "pcntl support => enabled"