This is a simple discord bot app that can be used to create vouchers for Vara Network dapps.
- Install the dependencies
npm install- Copy the
_env.examplefile to.envand fill in the required fields.
cp _env.example .env-
Fill in the required fields in the
.envfile such asDISCORD_TOKENandAPPLICATION_ID(you can get these values in Discord Developer Portal) -
Install and start PostgreSQL https://www.postgresql.org/download/linux/ubuntu/
-
Create user and database, fill in databse-related fields in the
.envfile -
Build and run the app
npm run build
npm start