To set up the Dotabod backend services, follow these steps:
- Install
docker
. - Set up a free Supabase account at https://app.supabase.com/.
- Set up a free Twitch Developer app to get a client ID and secret from https://dev.twitch.tv/console/apps/.
- Copy the example environment file:
cp .env.example .env
and update the variables with your Supabase and Twitch credentials. - Run
bun just update
to start the services, and you're ready to get started! 🚀
dota
: Contains code related to Dota 2 data processing. 🧙♂️twitch
: Contains code for the Twitch chat bot and event handling. 💬settings
: Contains configuration settings for the services. ⚙️mongodb
: Contains code for MongoDB database interactions. 🗄️nginx
: Contains configuration for the Nginx web server. 🌐services
: Contains additional services, such as backups and crowdin. 📦
Read the technical and business guide on Dotabod
This project is licensed under the terms of the LICENSE file.
We would like to extend our gratitude to stratz.com for providing the win probability data that we use in the !wp command and win probability overlay. Their data has greatly enhanced the functionality and user experience of our repository. Thank you, stratz.com, for your valuable contribution.
Contributions are welcome! Please read the CONTRIBUTING.md file for guidelines on how to contribute to this project.