aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--package.json3
-rwxr-xr-xscripts/upgrade-peertube.sh (renamed from scripts/upgrade.sh)0
3 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index d7220b39f..c908d7bcb 100644
--- a/README.md
+++ b/README.md
@@ -178,7 +178,7 @@ You can check the application (CORS headers, tracker websocket...) by running:
178The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application: 178The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application:
179 179
180 # systemctl stop peertube 180 # systemctl stop peertube
181 $ npm run upgrade 181 $ npm run upgrade-peertube
182 # systemctl start peertube 182 # systemctl start peertube
183 183
184### Development 184### Development
diff --git a/package.json b/package.json
index f795dff90..93193fe2f 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,8 @@
34 "dev:client": "scripty", 34 "dev:client": "scripty",
35 "start": "node dist/server", 35 "start": "node dist/server",
36 "check": "ts-node ./scripts/check.ts", 36 "check": "ts-node ./scripts/check.ts",
37 "upgrade": "scripty", 37 "upgrade-peertube": "scripty",
38 "upgrade": "echo 'This command was renamed to upgrade-peertube.'",
38 "update-host": "ts-node ./scripts/update-host.ts", 39 "update-host": "ts-node ./scripts/update-host.ts",
39 "test": "scripty", 40 "test": "scripty",
40 "help": "scripty", 41 "help": "scripty",
diff --git a/scripts/upgrade.sh b/scripts/upgrade-peertube.sh
index ff6dce94f..ff6dce94f 100755
--- a/scripts/upgrade.sh
+++ b/scripts/upgrade-peertube.sh