Thank you for your interest in contributing to the PyLadies Boston website! We welcome contributions from everyone. This guide will help you get started.
Follow these steps to contribute to the repository:
-
Navigate to the repository on GitHub:
https://github.com/pyladies/pyladies-boston-website -
Click the "Fork" button in the top right corner of the repository page
-
Select your GitHub account as the destination for the fork (if you have multiple accounts)
-
Wait for the fork to complete - GitHub will create a copy of the repository under your account
-
Clone to your computer On Terminal, run
git clone https://github.com/YOUR_USERNAME/pyladies-boston-website.git cd pyladies-boston-website -
Add the original repository as an upstream remote (recommended for keeping your fork synchronized):
git remote add upstream https://github.com/pyladies/pyladies-boston-website.git
-
Verify your remotes are set up correctly:
git remote -v
You should see:
originpointing to your forkupstreampointing to the original repository
-
Make sure you're on the default branch (
gh-pages):git checkout gh-pages
-
Update your local default branch with the latest changes from upstream:
git fetch upstream git pull upstream gh-pages
-
Create a new branch for your changes. Use a descriptive branch name that describes what you're working on:
git checkout -b feature/your-feature-name
Branch naming conventions:
feature/- for new features or enhancements (e.g.,feature/add-event-calendar)fix/- for bug fixes (e.g.,fix/navigation-links)update/- for content updates (e.g.,update/organizer-bios)docs/- for documentation changes (e.g.,docs/update-contributing)
-
Verify you're on your new branch:
git branch
The current branch (indicated by
*) should be your newly created branch.
-
Make your changes to the relevant files:
index.html- Main page content, organizer information, chapter brandingstyle.css- Styling and layoutimages/- Images and organizer photosCONTRIBUTING.md,README.md, etc. - Documentation files
-
Test your changes locally by running a local web server:
python3 -m http.server
Or specify a port:
python3 -m http.server 8000
Then open your browser and navigate to
http://localhost:8000to view the website. -
Verify your changes look correct before committing.
-
Stage your changes:
git add .Or stage specific files:
git add path/to/file.html
-
Commit your changes with a clear, descriptive commit message:
git commit -m "Add descriptive commit message about your changes"Commit message tips:
- Use the imperative mood ("Add feature" not "Added feature")
- Keep it concise but descriptive
- Reference issue numbers if applicable: "Fix #123: Update navigation links"
-
Push your branch to your fork:
git push origin feature/your-feature-name
If this is the first push for this branch, set the upstream:
git push -u origin feature/your-feature-name
-
Navigate to your fork on GitHub:
https://github.com/YOUR_USERNAME/pyladies-boston-website -
You should see a banner at the top saying "your-feature-name had recent pushes" with a "Compare & pull request" button. Click it.
Alternatively:
- Click on the "Pull requests" tab
- Click "New pull request"
- Select "compare across forks"
- Set the base repository to
pyladies/pyladies-boston-websiteand base branch togh-pages - Set the head repository to
YOUR_USERNAME/pyladies-boston-websiteand compare branch tofeature/your-feature-name
-
Fill out the pull request template with:
- Summary: A clear description of what your changes do and why
- Testing: Check the box confirming you tested the website locally
- Screenshot: If your changes affect the visual appearance, include a screenshot
-
Review your changes in the "Files changed" tab to make sure everything looks correct
-
Click "Create pull request" to submit your PR
-
Wait for review - Maintainers will review your PR and may request changes or ask questions
-
Address feedback if requested:
- Make additional commits to your branch
- Push the updates to your fork (the PR will automatically update)
- Comment on the PR to let reviewers know you've made changes
Once your pull request is approved:
-
Maintainers will merge your PR - You typically don't need to do anything at this point
-
After merging, you can clean up your local branch:
git checkout gh-pages git pull upstream gh-pages git branch -d feature/your-feature-name
-
Update your fork to keep it in sync:
git push origin gh-pages
-
Delete the branch on GitHub (if it hasn't been auto-deleted):
- Go to your fork on GitHub
- Navigate to the "Branches" page
- Delete the merged branch
Note: If your PR needs to be rebased or updated before merging, maintainers will let you know. You may need to:
git fetch upstream
git rebase upstream/gh-pages
git push origin feature/your-feature-name --force-with-lease- Test your changes locally before submitting a PR
- Provide a clear description of what your changes do
- Include screenshots if your changes affect the visual appearance
- Keep PRs focused - try to limit each PR to one feature or fix
- Be responsive to feedback from reviewers
We welcome various types of contributions:
- Content updates: Updating organizer information, event listings, chapter details
- Styling improvements: CSS enhancements, responsive design improvements
- Bug fixes: Fixing broken links, layout issues, or other bugs
- Accessibility improvements: Making the site more accessible
- Documentation: Improving documentation or adding helpful comments
If you need help or have questions:
- Ask in the PyLadies Slack in the
#city-bostonchannel - Open an issue on GitHub for bugs or feature requests
Thank you for contributing to PyLadies Boston! 🐍