diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-07-30 10:27:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 10:27:52 -0400 |
| commit | 0bf13bee50ee08b14adc647c37c0c23ec15ac326 (patch) | |
| tree | b672c3c108f2f6788471fcf3826367ab9e9402ae /peertube.html | |
| parent | 21a8bbdb6d70d58ed803a11bf3da64daebc0601b (diff) | |
| parent | b5c60e89f57078d5751a784faa909b4038ac6621 (diff) | |
Merge pull request #99 from diamonop1234/master
Updated PeerTube guide
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 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> |
