0.2.1 • Published 1 year ago
@ayan4m1/streem v0.2.1
streem
prerequisites
setup
$ npm install -g @ayan4m1/streem
$ wget https://raw.githubusercontent.com/ayan4m1/streem/refs/heads/main/.env.default
$ mv .env.default .envNow, edit the .env file using your favorite text editor. Set the guild ID, channel ID, and stream URL.
To run the bot, use npm start or node src/index.js.
Orchestrate the process using a tool like pm2:
$ npm install -g pm2
$ pm2 start -n streem src/index.jsupgrading
To upgrade to the latest version
$ git pull
$ npm ci
$ pm2 restart streemdocker
If you'd like to use Docker to run the bot, simply do the following:
- Copy
.env.defaultto.envand edit the settings - Run
docker-compose upordocker-compose up -dto start the bot
0.2.1
1 year ago