diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/production.md | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index 56d00bf56..6bf6c1ca3 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -280,28 +280,29 @@ $ cd /var/www/peertube/versions && \ | |||
280 | sudo -u peertube rm peertube-${VERSION}.zip | 280 | sudo -u peertube rm peertube-${VERSION}.zip |
281 | ``` | 281 | ``` |
282 | 282 | ||
283 | Change the link to point to the latest version: | 283 | Install node dependencies: |
284 | 284 | ||
285 | ``` | 285 | ``` |
286 | $ cd /var/www/peertube && \ | 286 | $ cd /var/www/peertube/versions/peertube-${VERSION} && \ |
287 | sudo rm ./peertube-latest && \ | 287 | sudo -u peertube yarn install --production --pure-lockfile |
288 | sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest | ||
289 | ``` | 288 | ``` |
290 | 289 | ||
291 | Install node dependencies: | 290 | Copy new configuration defaults values and update your configuration file: |
292 | 291 | ||
293 | ``` | 292 | ``` |
294 | $ cd /var/www/peertube/peertube-latest && \ | 293 | $ sudo -u peertube cp /var/www/peertube/versions/peertube-${VERSION}/config/default.yaml /var/www/peertube/config/default.yaml |
295 | sudo -u peertube yarn install --production --pure-lockfile | 294 | $ diff /var/www/peertube/versions/peertube-${VERSION}/config//production.yaml.example /var/www/peertube/config/production.yaml |
296 | ``` | 295 | ``` |
297 | 296 | ||
298 | Copy new configuration defaults values and update your configuration file: | 297 | Change the link to point to the latest version: |
299 | 298 | ||
300 | ``` | 299 | ``` |
301 | $ sudo -u peertube cp /var/www/peertube/peertube-latest/config/default.yaml /var/www/peertube/config/default.yaml | 300 | $ cd /var/www/peertube && \ |
302 | $ diff /var/www/peertube/peertube-latest/config//production.yaml.example /var/www/peertube/config/production.yaml | 301 | sudo rm ./peertube-latest && \ |
302 | sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest | ||
303 | ``` | 303 | ``` |
304 | 304 | ||
305 | |||
305 | Restart PeerTube: | 306 | Restart PeerTube: |
306 | ``` | 307 | ``` |
307 | $ sudo systemctl restart peertube | 308 | $ sudo systemctl restart peertube |