update yarn installation command (#267)

on ubuntu `sudo -u` doesn't set homedirectory of the targeted user althought debian does. it requires the option `-H`. I think with this option it works in both case.
pull/277/head
Valvin 2018-02-01 08:55:17 +01:00 committed by Chocobozzz
parent 36f9424ff1
commit 09c93c2031
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube
Install Peertube
```
$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
$ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile
$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
```
### PeerTube configuration