Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 797 Bytes

install.md

File metadata and controls

44 lines (29 loc) · 797 Bytes

Install on Ubuntu

Dependencies

  • NodeJS and NPM
  • git

How to Install NodeJS

Install mStream

git clone https://github.com/IrosTheBeggar/mStream.git

cd mStream

# Install dependencies and run
npm run-script wizard

Running mStream as a Background Process

We will use PM2 to run mStream as a background process

# Install PM2
npm install -g pm2

# Run app
pm2 start cli-boot-wrapper.js --name mStream

See the PM2 docs for more information

Updating mStream

To update mStream just pull the changes from git and reboot your server

git pull
npm install --only=prod
# Reboot mStream with PM2
pm2 restart all