Page MenuHomePhabricator

continuation script
ActivePublic

Authored by stwalkerster on May 28 2016, 10:21 PM.
Tags
None
Referenced Files
F681: continuation script
May 28 2016, 10:45 PM
F680: continuation script
May 28 2016, 10:36 PM
F679: continuation script
May 28 2016, 10:36 PM
F677: continuation script
May 28 2016, 10:28 PM
F675: continuation script
May 28 2016, 10:24 PM
F674: continuation script
May 28 2016, 10:21 PM
Subscribers
None
#!/bin/bash -xe
apt-get install php5-mysql php5-curl php5-apcu php5-gd
cd /opt/phabricator/phabricator
# set up database
sudo -u phabricator ./bin/config set mysql.host ninetales.scimonshouse.net
sudo -u phabricator ./bin/config set mysql.user phabricator
sudo -u phabricator ./bin/config set mysql.pass phabricator
sudo -u phabricator ./bin/storage upgrade --force
# set up user accounts
sudo -u phabricator ./bin/config set diffusion.ssh-user git
sudo -u phabricator ./bin/config set diffusion.phd-user phabricator
echo "git ALL=(phabricator) SETENV: NOPASSWD: /usr/bin/git, /usr/bin/git-upload-pack, /usr/bin/git-receive-pack" > /etc/sudoers.d/phabricator