Skip to content

discord/airhornbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airhornbot

A TypeScript implementation of AIRHORN SOLUTIONS.

Setup

Prerequisites:

  • Postgres Server
  • Node.js v18 (and npm)

Website

Build the website for the bot.

Example commands:

cd website
npm install
cp .env.example .env
# Edit the .env file to have the correct values for your setup
npm run build

Bot

Build the bot and web server process.

Example commands:

cd bot
npm install
cp .env.example .env
# Edit the .env file to have the correct values for your setup
npx prisma generate
npm run build
npx prisma migrate deploy

To run the bot:

cd bot
npm run bot

To run the web server:

cd bot
npm run web