This project is designed to help students learn Git, GitHub, and collaborative open-source development through a hands-on contributor showcase project.
- Python 3.7+
- Git
- GitHub Account
- Basic understanding of Python and JSON
- Navigate to the GitHub Bootcamp Repository
- Click the "Fork" button in the top right corner of the page
- Choose your personal GitHub account to create a fork
# Replace YOUR_USERNAME with your GitHub username
git clone https://github.com/YOUR_USERNAME/GitHub-Bootcamp.git
cd GitHub-Bootcamp
# Create a virtual environment
python3 -m venv venv
# Activate the virtual environment
# On Windows
venv\Scripts\activate
# On macOS and Linux
source venv/bin/activate
# Install required packages
pip install -r requirements.txt
- Navigate to the
assets/user/
directory - Create a new JSON file named
{your-student-id}.json
- Use the following template:
{
"name": "Your Full Name",
"githubUsername": "your_github_username",
"bio": "A short professional or personal bio",
"pfpUrl": "https://link-to-your-profile-picture.jpg",
"socialLinks": {
"GitHub": "https://github.com/your_username",
"LinkedIn": "https://linkedin.com/in/your_profile"
}
}
- Ensure your JSON file is valid
- Use online JSON validators if needed
- Check that all links are working
# Run the HTML generation script
python scripts/generate_html.py
# Add your JSON file
git add assets/user/your-student-id.json
git add index.html
# Commit with a meaningful message
git commit -m "Add contributor profile for YOUR_NAME"
# Push to your fork
git push origin main
- Go to your forked repository on GitHub
- Click "Pull Request"
- Ensure:
- Base repository is
ksauraj/GitHub-Bootcamp
- Base branch is
master
- Head repository is
YOUR_USERNAME/GitHub-Bootcamp
- Head branch is your working branch
- Base repository is
- Create the Pull Request
- Add a descriptive title and comment
- Use a professional tone in your bio
- Choose a clear, appropriate profile picture
- Ensure all links are working
- Follow the JSON structure exactly
- No offensive or inappropriate content
Your pull request will be reviewed for:
- Valid JSON structure
- Working links
- Appropriate content
- Successful HTML generation
- Verify Python installation:
python3 --version
- Check JSON validity using online validators
- Ensure all required fields are filled
- If script fails, check error messages carefully
Happy Contributing! 🚀👩💻👨💻 PR by pranayasingh