diff options
| author | diamonop1234 <82997738+diamonop1234@users.noreply.github.com> | 2021-07-30 09:20:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 09:20:51 +0200 |
| commit | b5c60e89f57078d5751a784faa909b4038ac6621 (patch) | |
| tree | 5c0a3159d2df27c971cf1af5758f7cab95b75b76 | |
| parent | ec8540967e9c87ad0c72bb2ba6f32faaf477c104 (diff) | |
Update peertube.html
| -rw-r--r-- | peertube.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/peertube.html b/peertube.html index e38a2ba..5b08dbb 100644 --- a/peertube.html +++ b/peertube.html @@ -65,9 +65,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> |
