diff --git a/docs/install.md b/docs/install.md index 6282155..16b629c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -2,33 +2,21 @@ **Dependencies** -mStream has the following dependencies: - * NodeJS and NPM -* Python 2 -* GCC and G++ -* node-gyp * git -**Install NodeJS** +**Install NodeJS & git** ```shell curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get update sudo apt-get install -y nodejs -``` -**Install Dependencies** - -```shell -sudo apt-get install -y build-essential git python -sudo npm install -g node-gyp +sudo-apt-get install git ``` **Install mStream** -Install mStream with git. You can install mStream from npm, but this has been known to cause errors - ```shell git clone https://github.com/IrosTheBeggar/mStream.git @@ -40,6 +28,14 @@ npm install --only=production sudo npm link ``` +**Updating mStream** + +To update mStream just pull the changes from git and reboot your server + +```shell +git pull +``` + **Using mStream** You can now boot your mStream server by running `mstream` in the terminal. By default mStream will use port 3000, so you can check if it's working by going to http://localhost:3000/ in your browser. diff --git a/package.electron.json b/package.electron.json new file mode 100644 index 0000000..2e51c3d --- /dev/null +++ b/package.electron.json @@ -0,0 +1,40 @@ +{ + "name": "mstream", + "version": "3.0.5", + "description": "music streaming server", + "main": "mstream-command-line-boot-wrapper.js", + "bin": { + "mstream": "mstream-command-line-boot-wrapper.js" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/IrosTheBeggar/mstream-node" + }, + "author": "iros", + "license": "GPL-3.0", + "dependencies": { + "archiver": "^2.0.3", + "body-parser": "^1.15.1", + "commander": "^2.9.0", + "express": "^4.13.4", + "internal-ip": "^3.0.0", + "jsonwebtoken": "^8.1.0", + "lokijs": "^1.4.3", + "mkdirp": "^0.5.1", + "music-metadata": "^0.8.4", + "nat-upnp": "^1.1.0", + "public-ip": "^2.0.1", + "uuid": "^3.0.1", + "ws": "^1.1.1" + }, + "devDependencies": { + "electron": "1.6.2", + "electron-rebuild": "^1.5.7", + "auto-launch": "^5.0.1", + "portscanner": "^2.1.1", + "superagent": "^3.5.2" + } +} diff --git a/package.json b/package.json index 2e51c3d..4e95c20 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,5 @@ "public-ip": "^2.0.1", "uuid": "^3.0.1", "ws": "^1.1.1" - }, - "devDependencies": { - "electron": "1.6.2", - "electron-rebuild": "^1.5.7", - "auto-launch": "^5.0.1", - "portscanner": "^2.1.1", - "superagent": "^3.5.2" } }