Discord botti. MVP announcementtii ja muut random paskaa
- Node 16: recommend nvm on linux and macOS
- Docker desktop for compose, for local database setup
- or docker compose directly, see install instructions
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++
See this article for a guide on how to use VSCode, WSL2 and Docker desktop.
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
The app is deployed to Heroku on every push to main
.
Find the control panel here
To manually deploy:
- Install Heroku CLI
heroku login
heroku git:remote -a c8-bot
git push heroku main
All rights reserved to the relevant contributors. No license granted. Fuck off.
Tapppi
Gee
Snakkeboi
Zerosku