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.example
file to.env
and fill in the required fields.
cp _env.example .env
-
Fill in the required fields in the
.env
file such asDISCORD_TOKEN
andAPPLICATION_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
.env
file -
Build and run the app
npm run build
npm start