Tapppi / C8bot

Discord botti. MVP announcementtii ja muut random paskaa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C8 BOT

c8 orava

Discord botti. MVP announcementtii ja muut random paskaa

How to run

Requirements

  • Node 16: recommend nvm on linux and macOS
  • Docker desktop for compose, for local database setup

Optional requirements

Optional requirements for better performance of the bot.

  • Python: brew install python/sudo apt install python
  • Make: brew install make/sudo apt install make
  • GCC: brew install gcc/sudo apt install gcc
  • G++: brew install g++/sudo apt install g++

Useful VSCode plugins

Windows

See this article for a guide on how to use VSCode, WSL2 and Docker desktop.

Configure and run

Copy environment variable configuration template env.dist to actual config file .env and fill values.

# Install dependencies with npm
npm install

# Copy environment variable configuration template to actual config file
cp .env.dist .env
# Add required .env 
$EDITOR .env

# Run database
docker-compose up

# Create db schemas and seed test data
npm run migrate
npm run seed

# Run dev server with auto-reload on changes
npm run dev

Deploy

The app is deployed to Heroku on every push to main. Find the control panel here

To manually deploy:

The boring stuff

All rights reserved to the relevant contributors. No license granted. Fuck off.

Creators

Tapppi
Gee
Snakkeboi
Zerosku

c8 kuningas

About

Discord botti. MVP announcementtii ja muut random paskaa


Languages

Language:TypeScript 99.5%Language:Shell 0.4%Language:Procfile 0.1%