GIT_SETUP.md•1.9 kB
# Git Repository Setup Guide
## Current Status
✅ Git repository initialized
✅ Initial commit created (commit: 45b7d1d)
✅ All files staged and committed
## Next Steps: Create Remote Repository and Push
### Option 1: Create GitHub Repository via Web Interface
1. **Create a new repository on GitHub:**
- Go to https://github.com/new
- Repository name: `airtable-mcp-server` (or your preferred name)
- Description: "Airtable MCP Server with web interface for viewing bases, tables, and records"
- Choose Public or Private
- **DO NOT** initialize with README, .gitignore, or license (we already have these)
- Click "Create repository"
2. **Add remote and push:**
```bash
git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
git branch -M main
git push -u origin main
```
### Option 2: Create GitHub Repository via GitHub CLI (if installed)
```bash
gh repo create airtable-mcp-server --public --source=. --remote=origin --push
```
### Option 3: Use Existing Repository
If you already have a repository URL:
```bash
git remote add origin YOUR_REPOSITORY_URL
git branch -M main
git push -u origin main
```
## Important Notes
⚠️ **Before pushing, make sure to:**
- Remove or update the hardcoded API key in `server.js` (line 20)
- Remove or update the hardcoded API key in `.cursor/mcp.json` (line 7)
- Consider adding these files to `.gitignore` if they contain sensitive data
## Files Committed
The following files are included in the repository:
- All source code (`src/`)
- Web application (`public/`, `server.js`, `api/`)
- Configuration files (`package.json`, `tsconfig.json`, `vercel.json`)
- Documentation (`README.md`, `CHANGELOG.md`, `VERCEL_DEPLOYMENT.md`)
- Build scripts and workflows
## Excluded Files (via .gitignore)
- `node_modules/`
- `dist/` (will be built during deployment)
- `.env` files
- Build artifacts