1
0
Fork 0

Rename 'npm run upgrade' to 'npm run upgrade-peertube'

It was confusing with the command 'npm run update'
This commit is contained in:
Chocobozzz 2017-06-25 16:30:45 +02:00
parent 945075ad45
commit 4f13304181
3 changed files with 3 additions and 2 deletions

View file

@ -178,7 +178,7 @@ You can check the application (CORS headers, tracker websocket...) by running:
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
$ npm run upgrade-peertube
# systemctl start peertube
### Development

View file

@ -34,7 +34,8 @@
"dev:client": "scripty",
"start": "node dist/server",
"check": "ts-node ./scripts/check.ts",
"upgrade": "scripty",
"upgrade-peertube": "scripty",
"upgrade": "echo 'This command was renamed to upgrade-peertube.'",
"update-host": "ts-node ./scripts/update-host.ts",
"test": "scripty",
"help": "scripty",