Skip to main contentHow to Deploy
-
Push your code to GitHub
- Include
/src, serve.py, and requirements.txt
- Exclude
/devtools, .venv, and .env.local (add to .gitignore)
-
Create a team on the Hacker Dashboard
-
Connect your GitHub repository
- Link your team’s repository in the dashboard
-
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