mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
Updated install instructions
This commit is contained in:
parent
460ff4a4a3
commit
71416f40e6
@ -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.
|
||||
|
||||
40
package.electron.json
Normal file
40
package.electron.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user