diff --git a/Deploying.wiki b/Deploying.wiki deleted file mode 100644 index df97182..0000000 --- a/Deploying.wiki +++ /dev/null @@ -1,12 +0,0 @@ -== Deploying dot files == - -1. git clone https://gitlab.com/revi/dots. -2. cd dots -3. cp gitconfig.sample ~/.gitconfig -4. cp .gitaliases ~/.gitaliases - -=== If this device is gpg device === - -1. Install gnupg2 and gnupg. -2. Import the private key and public key. Importing keyring files are sufficient. -3. cp .gpg.conf ~/.gnupg/gpg.conf. \ No newline at end of file diff --git a/phab-upgrade.sh b/phab-upgrade.sh index 52d4960..026da0f 100644 --- a/phab-upgrade.sh +++ b/phab-upgrade.sh @@ -1,16 +1,20 @@ #!/bin/bash -cd /var/www/phab/phabricator -sudo -u www-data ./bin/phd stop +cd ~/sandbox +git pull origin master +cd /var/www/phorge/phorge +sudo service phorge-phd stop sudo service apache2 stop sudo -u www-data git checkout stable sudo -u www-data git pull origin stable -cd ../libphutil -sudo -u www-data git checkout stable -sudo -u www-data git pull origin stable +# cd ../libphutil +# sudo -u www-data git checkout stable +# sudo -u www-data git pull origin stable cd ../arcanist sudo -u www-data git checkout stable sudo -u www-data git pull origin stable -cd ../phabricator +cd /var/www/phorge/phorge/src/extensions +sudo -u www-data cp /home/revi/sandbox/PhabExt/PhabricatorCustomRobotsTxtController.php . +cd /var/www/phorge/phorge sudo -u www-data ./bin/storage upgrade -sudo -u www-data ./bin/phd start +sudo service phorge-phd start sudo service apache2 start