All background tasks for operating eospowerup.io
- Nodejs
- yarn
- pm2
npm i -g yarn pm2
Copy the config files and initialize the prisma DB
cp ./example.ecosystem.config.js ./ecosystem.config.js
cp ./example.env.json ./.env.json
npx prisma db push
yarn
If you just want to run a worker, you only need to run pwrBot. You can comment out all other jobs from the ecosystem file.
pm2 start ./ecosystem.config.js