phab-upgrade.sh: update
Summary: and remove outdated info Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: read the docs ™️ Reviewers: O1 revi & code reviewers, revi Reviewed By: O1 revi & code reviewers, revi Differential Revision: https://issuetracker.revi.xyz/D56
This commit is contained in:
parent
32914edc14
commit
405c1968b7
2 changed files with 11 additions and 19 deletions
|
@ -1,12 +0,0 @@
|
|||
== Deploying dot files ==
|
||||
|
||||
1. <code>git clone https://gitlab.com/revi/dots</code>.
|
||||
2. <code>cd dots</code>
|
||||
3. <code>cp gitconfig.sample ~/.gitconfig</code>
|
||||
4. <code>cp .gitaliases ~/.gitaliases</code>
|
||||
|
||||
=== 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. <code>cp .gpg.conf ~/.gnupg/gpg.conf</code>.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue