Welcome to the Tux developer documentation!
This area provides in-depth information for developers working on Tux, beyond the initial setup and contribution workflow.
For information on setting up your environment, the development workflow (branching, PRs), and basic quality checks, please refer to the main contribution guide:
Explore the following pages for more detailed information on specific development aspects:
- Local Development
- Running the bot locally.
- Understanding the hot reloading mechanism.
- Tux CLI Usage
- Understanding development vs. production modes (
--dev
,--prod
). - Overview of command groups (
bot
,db
,dev
,docker
).
- Understanding development vs. production modes (
- Database Management
- Detailed usage of
tux db
commands (push, migrate, generate, pull, reset). - Working with Prisma migrations.
- Detailed usage of
- Database Controller Patterns
- Using controllers for CRUD, transactions, relations.
- Best practices for database interactions in code.
- Docker Environment (Optional)
- Setting up and using the Docker-based development environment.
- Running commands within Docker containers.