Avm07 / eospowerupio-server

backend worker logic for eospowerup.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Shell 78.3%Language:TypeScript 21.3%Language:JavaScript 0.4%