> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chesshacks.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment

> Deploy your bot to the ChessHacks platform

## How to Deploy

1. **Push your code to GitHub**

   * Include `/src`, `serve.py`, and `requirements.txt`
   * Exclude `/devtools`, `.venv`, and `.env.local` (add to `.gitignore`)

2. **Create a team on the Hacker Dashboard**

3. **Connect your GitHub repository**

   * Link your team's repository in the dashboard

4. **Assign to a slot**
   * Deploy your bot to a slot
   * Your bot will automatically start playing games!

## Debugging

**Build errors:** Show in the dashboard UI during deployment

**Runtime errors:** Show in the game viewer when your bot plays

## Quick Tips

* Test locally before deploying
* Use relative imports: `from .utils import ...`
* Include all dependencies in `requirements.txt`
* For large models, see [Model Training](/platform/development#model-training)
