Join your team¶
Pick a captain. The captain registers the team once, and everyone else then logs in.
The organizers will give you an event secret. The CLI lists the open events, so you only have to pick yours.
Captain: register the team¶
1. Create a repository on GitHub (or any Git host) for your team, add your teammates to it, and clone it:
A private repository is recommended.
2. Register, from inside the repository:
You will be asked for:
- your event (picked from a numbered list when more than one is open) and the event secret,
- a team name,
- a team password (12 characters or more). Share it with your teammates through a private channel. They need it to log in.
Registration takes up to a minute while your team's infrastructure is created. If it is interrupted, run the same command again with the same password (and team name, if asked). It will pick up where it stopped.
3. Share the setup. At the end, register lists the files it created
(including uv.lock) and offers to commit them and push them to your
repository. Answer yes: your teammates need these files to log in. Only those
files are committed; anything else you were working on is left alone.
If you said no or the push failed, commit and push them yourself:
uv lock
git add greenaihack.json uv.lock pyproject.toml my_eval.py models .gitignore .dvc .dvcignore .gitlab-ci.yml
git commit -m "chore: set up Green AI Hack team"
git push
What did register create?
| File | Purpose |
|---|---|
greenaihack.json |
Your team ID, name and slug, and submission defaults |
my_eval.py |
Starter inference script |
pyproject.toml |
Your project's Python dependencies |
models/ |
Where your model weights go |
.dvc/, .dvcignore, .gitlab-ci.yml |
Used by the submission system. Don't edit them |
Existing files are never overwritten. Your passwords and keys are stored outside the repository and are never committed.
Teammates: log in¶
Clone the team repository, then log in from inside it:
Enter the team password when asked. That's it.
If you are also asked for the event secret and your team, the captain hasn't
pushed the setup files yet. Press Ctrl+C, ask them to push, then pull and
run login again.
One login per machine
Each teammate logs in once on every computer they want to submit from. The captain is already logged in on the machine they registered from.
Next: make your first submission.