Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 501 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 501 Bytes

eospowerup.io server

All background tasks for operating eospowerup.io

Prerequisites

  • Nodejs
  • yarn
  • pm2
npm i -g yarn pm2

Setup

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