[UPD] Updated production.md

Updated production guide to adapt new updates on linux servers(specifically ubuntu)
pull/6711/head
homayk228 2024-11-03 17:56:41 +07:00
parent 29cdeb0621
commit e90b3329e3
1 changed files with 3 additions and 3 deletions

View File

@ -91,11 +91,11 @@ sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertub
Install Peertube:
**Under root only**
```bash
cd /var/www/peertube
sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
sudo -u peertube ln -s versions/peertube-${VERSION}/ peertube-latest
cd peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
```
### :wrench: PeerTube configuration