Signed-off-by: Thomas Citharel <tcit@tcit.fr>
pull/251/head
Thomas Citharel 2018-01-25 08:13:19 +01:00 committed by Chocobozzz
parent 2bb0f9d501
commit 15dbc134bd
1 changed files with 5 additions and 5 deletions

View File

@ -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 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 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 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 unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
``` ```
Install Peertube Install Peertube
``` ```
cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ $ 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 -u peertube yarn install --production --pure-lockfile
``` ```
### PeerTube configuration ### PeerTube configuration