parent
2bb0f9d501
commit
15dbc134bd
1 changed files with 5 additions and 5 deletions
|
@ -37,19 +37,19 @@ $ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/la
|
|||
|
||||
Open the peertube directory, create a few required directories
|
||||
```
|
||||
cd /var/www/peertube && sudo -u peertube mkdir config storage versions && cd versions
|
||||
$ cd /var/www/peertube && sudo -u peertube mkdir config storage versions && cd versions
|
||||
```
|
||||
|
||||
Download the latest version of the Peertube client, unzip it and remove the zip
|
||||
```
|
||||
sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" && \
|
||||
sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
|
||||
$ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip"
|
||||
$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
|
||||
```
|
||||
|
||||
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 ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
||||
$ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile
|
||||
```
|
||||
|
||||
### PeerTube configuration
|
||||
|
|
Loading…
Reference in a new issue