Skip to content

teachology/eospowerupio-server

 
 

Repository files navigation

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

About

backend worker logic for eospowerup.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.3%
  • TypeScript 21.3%
  • JavaScript 0.4%