ssh key based easy upgrade method documentation

This commit is contained in:
Mikael Nordfeldth 2015-02-27 15:07:24 +01:00
parent dceb67c247
commit fd53bb404f
1 changed files with 10 additions and 0 deletions

10
UPGRADE
View File

@ -35,6 +35,16 @@ and follow this procedure:
5. Report any issues at https://bugz.foocorp.net/ (tag GNU social)
If you are using ssh keys to log in to your server, you can make this
procedure pretty painless (assuming you have automated backups already).
Make sure you "cd" into the correct directory (in this case "htdocs")
and use the correct login@hostname combo:
$ ssh social@domain.example 'cd htdocs
&& bash scripts/stopdaemons.sh
&& git pull
&& time php scripts/upgrade.php
&& bash scripts/startdaemons.sh'
StatusNet 1.1.x to GNU social 1.2.x
-----------------------------------