From 0c327a3a773ac60a5205a6afdaabde280e8b1cb1 Mon Sep 17 00:00:00 2001 From: IrosTheBeggar Date: Sat, 26 Feb 2022 23:46:37 -0500 Subject: [PATCH] install docs --- docs/install.md | 6 +++--- package.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/install.md b/docs/install.md index 425c16c..bc8afaa 100644 --- a/docs/install.md +++ b/docs/install.md @@ -14,8 +14,8 @@ git clone https://github.com/IrosTheBeggar/mStream.git cd mStream -# Install without dev dependencies -npm install --production +# Install dependencies and run +npm run-script wizard ``` # Running mStream as a Background Process @@ -38,7 +38,7 @@ To update mStream just pull the changes from git and reboot your server ```shell git pull -npm install --production +npm install --only=prod # Reboot mStream with PM2 pm2 restart all ``` diff --git a/package.json b/package.json index 647a31b..bddd83e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "scripts": { "start": "node cli-boot-wrapper.js", "pack": "electron-builder --dir", - "dist": "electron-builder" + "dist": "electron-builder", + "wizard": "npm install --only=prod && node cli-boot-wrapper.js" }, "repository": { "type": "git",