File size: 7,767 Bytes
d69447e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 |
# Team Collaboration Guide - MCP 1st Birthday Hackathon
## Overview
This guide explains how to add team partners to your FleetMind MCP hackathon submission on Hugging Face Spaces.
**Hackathon Details:**
- **Team Size:** 2-5 members allowed
- **Your Space:** https://huggingface.co/spaces/MCP-1st-Birthday/fleetmind-dispatch-ai
- **Submission Deadline:** November 30, 2025 (11:59 PM UTC)
- **Track:** MCP in Action (Track 01)
---
## Method 1: Add Team Members via README Documentation (EASIEST)
For hackathon submission purposes, you MUST document your team in the Space's README.md file.
### Steps:
1. **Edit the Team Section in README.md**
The Team section is already added to your README. Update it with your actual team information:
```markdown
## π₯ Team
**Team Name:** FleetMind AI Team
**Team Members:**
- **John Doe** - [@johndoe](https://huggingface.co/johndoe) - Lead Developer & AI Architect
- **Jane Smith** - [@janesmith](https://huggingface.co/janesmith) - Database Engineer
- **Alex Chen** - [@alexchen](https://huggingface.co/alexchen) - UI/UX Developer
```
2. **Replace Placeholders:**
- `[Your Team Name]` β Your actual team name
- `[Your Name]` β Team member's real name
- `@your-hf-username` β Their Hugging Face username
- `[Role]` β Their role in the project
3. **Commit and Push:**
```bash
cd F:\fleetmind-mcp\fleetmind-dispatch-ai
git add README.md
git commit -m "Update team member information"
git push
```
---
## Method 2: Grant Git Access to Team Partners (TECHNICAL COLLABORATION)
If your team partners need to push code directly to the Space, they need Git access.
### Option A: Via Organization Membership
Since your Space is owned by the **MCP-1st-Birthday organization**, team members can:
1. **Join the Organization:**
- Go to https://huggingface.co/MCP-1st-Birthday
- Click **"Request to join this org"** (top right)
- Fill out the registration form
- Wait for admin approval
2. **Verify Access:**
- Once approved, they'll automatically have access based on organization permissions
- Organization members with "write" or "contributor" roles can collaborate
### Option B: Direct Collaborator Access
If you have admin rights to your Space:
1. **Go to Space Settings:**
- Visit: https://huggingface.co/spaces/MCP-1st-Birthday/fleetmind-dispatch-ai/settings
- Look for "Collaborators" or "Access" section
2. **Add Collaborators by Username:**
- Enter their Hugging Face username
- Set their permission level (read/write/admin)
- Send invitation
---
## Method 3: Collaborate via Pull Requests (SAFEST)
Team members can contribute without direct write access using Pull Requests.
### Steps:
1. **Team Partner Forks/Duplicates the Space:**
- They go to your Space page
- Click the three dots (top right) β "Duplicate this Space"
- Make changes in their forked version
2. **Create Pull Request:**
- After making changes, they create a Pull Request
- You review and merge their changes
3. **Enable Pull Requests:**
- Go to Space Settings
- Ensure "Pull Requests" are enabled
---
## Method 4: Share Git Credentials (NOT RECOMMENDED)
While technically possible, sharing your Git credentials is NOT recommended for security reasons. Use Methods 1-3 instead.
---
## Technical Setup for Team Partners
Once your team partners have access, they need to set up their local environment:
### 1. Clone the Space
```bash
# Navigate to desired directory
cd F:\
# Clone the Space
git clone https://huggingface.co/spaces/MCP-1st-Birthday/fleetmind-dispatch-ai
# Enter directory
cd fleetmind-dispatch-ai
```
### 2. Authenticate with Hugging Face
They need a Hugging Face access token:
1. **Get Token:**
- Go to https://huggingface.co/settings/tokens
- Click "New token"
- Create a token with "write" permissions
2. **Login via CLI:**
```bash
# Install Hugging Face CLI
pip install huggingface_hub
# Login (they'll be prompted for token)
huggingface-cli login
```
3. **Or Configure Git Credentials:**
```bash
git config credential.helper store
```
When they push for the first time, Git will ask for:
- Username: Their HF username
- Password: Their HF access token (NOT their account password)
### 3. Make Changes and Push
```bash
# Make changes to files
# ...
# Stage changes
git add .
# Commit
git commit -m "Add feature X"
# Push to Space
git push
```
---
## Hugging Face Spaces Access Levels
Understanding permission levels helps you decide what access to grant:
| Role | Can View | Can Clone | Can Push | Can Manage Settings |
|------|----------|-----------|----------|---------------------|
| **Public** | β
| β
| β | β |
| **Read** | β
| β
| β | β |
| **Contributor** | β
| β
| Via PR only | β |
| **Write** | β
| β
| β
| β |
| **Admin** | β
| β
| β
| β
|
---
## Hackathon Submission Requirements
For your team submission to be valid, ensure:
### Required in README.md:
- β
**Team section** with all member names and HF usernames
- β
**Track tag:** `mcp-in-action-track-01` (already added)
- β
**Demo video link** (1-5 minutes) - TODO
- β
**Social media post link** - TODO
### Required in Space:
- β
Published as a Space in MCP-1st-Birthday organization
- β
App.py entry point (already created)
- β
Working Gradio interface
- β
All code created during hackathon period (Nov 14-30, 2025)
---
## Troubleshooting
### "Permission denied" when team partner tries to push
**Solution:**
1. Verify they're added as collaborators with write access
2. Check they're using the correct HF access token (not account password)
3. Ensure token has "write" permissions
### "Repository not found" error
**Solution:**
1. Verify the Space URL is correct
2. Check they have at least "read" access
3. Ensure they're logged in: `huggingface-cli whoami`
### Team member can't see the Space
**Solution:**
1. If Space is private, add them as collaborators
2. If Space is public (recommended for hackathon), they should see it
3. Check organization membership status
---
## Best Practices for Team Collaboration
1. **Communication:**
- Use Discord channel: agents-mcp-hackathon-winter25
- Create a team group chat
- Document decisions in README
2. **Code Management:**
- Pull before making changes: `git pull`
- Commit frequently with clear messages
- Test locally before pushing
3. **Task Distribution:**
- Assign specific files/features to team members
- Avoid editing the same files simultaneously
- Use TODO comments in code
4. **Version Control:**
- Create branches for major features (optional)
- Use descriptive commit messages
- Review each other's code
---
## Quick Reference Commands
```bash
# Clone the Space
git clone https://huggingface.co/spaces/MCP-1st-Birthday/fleetmind-dispatch-ai
# Check current status
git status
# Pull latest changes
git pull
# Add all changes
git add .
# Commit with message
git commit -m "Description of changes"
# Push to Space
git push
# Check who you're logged in as
huggingface-cli whoami
# Login to HF
huggingface-cli login
```
---
## Support & Resources
- **Hackathon Discord:** agents-mcp-hackathon-winter25 channel
- **Office Hours:** November 17-28 with Gradio team
- **HF Documentation:** https://huggingface.co/docs/hub/spaces
- **Git Documentation:** https://git-scm.com/doc
---
## Timeline Reminder
- **Start Date:** November 14, 2025
- **Submission Deadline:** November 30, 2025 (11:59 PM UTC)
- **Days Remaining:** Check dashboard regularly
Make sure all team members are added to README.md before the deadline!
---
**Good luck with your hackathon submission! π**
|