Joystream Stats 238bf9008f move contributions/tech to scripts 2 anos atrás
..
.env.example 238bf9008f move contributions/tech to scripts 2 anos atrás
.gitignore 238bf9008f move contributions/tech to scripts 2 anos atrás
db.json 238bf9008f move contributions/tech to scripts 2 anos atrás
index.js 238bf9008f move contributions/tech to scripts 2 anos atrás
package-lock.json 238bf9008f move contributions/tech to scripts 2 anos atrás
package.json 238bf9008f move contributions/tech to scripts 2 anos atrás
readme.md 238bf9008f move contributions/tech to scripts 2 anos atrás

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