diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-07-30 10:54:08 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-07-30 10:54:08 -0400 |
| commit | d201a2f7128d19c68351b728ae07f66b87b04f63 (patch) | |
| tree | 1203d07f2f39cbf7b89042305b042133b74cc025 /peertube.html | |
| parent | d06c206f41076221cf34c35c60c5a5b0422d4788 (diff) | |
| parent | 0bf13bee50ee08b14adc647c37c0c23ec15ac326 (diff) | |
Merge branch 'master' of github.com:LukeSmithxyz/landchad
Diffstat (limited to 'peertube.html')
| -rw-r--r-- | peertube.html | 10 |
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> |
