Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 737 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 737 Bytes

Discord bot app

This is a simple discord bot app that can be used to create vouchers for Vara Network dapps.

Installation

  1. Install the dependencies
npm install
  1. Copy the _env.example file to .env and fill in the required fields.
cp _env.example .env
  1. Fill in the required fields in the .env file such as DISCORD_TOKEN and APPLICATION_ID (you can get these values in Discord Developer Portal)

  2. Install and start PostgreSQL https://www.postgresql.org/download/linux/ubuntu/

  3. Create user and database, fill in databse-related fields in the .env file

  4. Build and run the app

npm run build
npm start