Skip to main content

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