Add upgrade informations in README
authorChocobozzz <florian.bigard@gmail.com>
Fri, 21 Oct 2016 12:52:21 +0000 (14:52 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 26 Oct 2016 18:28:34 +0000 (20:28 +0200)
README.md

index cb3e83f3e8ad7b6bc9374fd48542e11e87a94198..bff2c4e60c460d0fd71dc6e314f8a6b18f7ed5a1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -172,6 +172,14 @@ You can check the application (CORS headers, tracker websocket...) by running:
 
     $ NODE_ENV=production npm run check
 
+### Upgrade
+
+The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application:
+
+    # systemctl stop peertube
+    $ npm run upgrade
+    # systemctl start peertube
+
 ### Other commands
 
 To print all available command run: