dependabot[bot] 7e58af69a4 Bump node-fetch from 2.6.1 to 2.6.7 in /scripts/storagesize-bot 2 жил өмнө
..
.env.example 238bf9008f move contributions/tech to scripts 2 жил өмнө
.gitignore 238bf9008f move contributions/tech to scripts 2 жил өмнө
db.json 238bf9008f move contributions/tech to scripts 2 жил өмнө
index.js 238bf9008f move contributions/tech to scripts 2 жил өмнө
package-lock.json 7e58af69a4 Bump node-fetch from 2.6.1 to 2.6.7 in /scripts/storagesize-bot 2 жил өмнө
package.json 238bf9008f move contributions/tech to scripts 2 жил өмнө
readme.md 238bf9008f move contributions/tech to scripts 2 жил өмнө

readme.md

Storage size notification bot for discord

Sends actual volume for Joystream Storage Providers to a channel every X hours or via PM with /storagesize.

Development

  • Take a copy of .env.example and add token of the bot and rename to .env
  • npm install
  • nodemon

Deployment

  • Take a copy of .env.example and add token of the bot and rename to .env
  • npm install
  • Use pm2 or any process managers to deploy
    • npm install pm2@latest -g or yarn global add pm2
    • pm2 start --name storagesize node index.js