summaryrefslogtreecommitdiff
path: root/peertube.html
diff options
context:
space:
mode:
Diffstat (limited to 'peertube.html')
-rw-r--r--peertube.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/peertube.html b/peertube.html
index d25e735..cc88f15 100644
--- a/peertube.html
+++ b/peertube.html
@@ -80,9 +80,15 @@ exit</code></pre>
<pre><code>sudo -u peertube mkdir config storage versions
sudo -u peertube chmod 750 config</code></pre>
- <p>Finally, a PeerTube release can be downloaded from the GitHub page and installed using yarn:</p>
+ <p>Finally, a PeerTube release can be downloaded from the GitHub page using the <code>VERSION</code> variable from before:</p>
- <pre><code>cd versions
+ <pre><code>cd /var/www/peertube/versions
+sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip"
+sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip</code></pre>
+
+<p>The downloaded release can then be symbolically linked to <code>/var/www/peertube/peertube-latest</code> and <strong>yarn</strong> is used to install PeerTube:</p>
+
+<pre><code>
sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile</code></pre>