Congratulations on being selected as a Project Admin for SWOC (Script Winter of Code)! This guide will help you manage your project, Smart-Rent, effectively.
main: The production-ready code. Avoid committing directly to this branch.develop(Optional but recommended): A branch where all features are merged before going tomain.- Feature Branches: Contributors should create branches like
feat/login-pageorfix/nav-bugfrommain(ordevelop).
Create these labels in your GitHub repository (Issues -> Labels) to help contributors find tasks:
good first issue: Easy tasks for beginners (e.g., typos, simple CSS fixes).help wanted: Tasks where you need assistance.bug: Something isn't working.enhancement: New feature or improvement.documentation: Improvements to README or other docs.SWOC: Specifically for SWOC participants.
- Contributors will comment on issues, asking to be assigned.
- Assign the issue to one person at a time to avoid conflicts.
- Ask them for an estimated timeline (e.g., "Can you finish this in 2 days?").
When a contributor submits a PR:
- Check the Description: Does it follow the template? Does it link to an issue (e.g.,
Fixes #12)? - Review the Code:
- Look for clean, readable code.
- Ensure no unnecessary files (like
.envornode_modules) are committed. - Check for comments and documentation.
- Test Locally:
- Pull their branch:
git checkout -b <their-branch> origin/<their-branch> - Run the project (
npm run dev) and verify the fix/feature.
- Pull their branch:
- Request Changes: If something is wrong, be polite and constructive. Example: "Great start! Could you please fix this formatting issue on line 45?"
- Merge: Once everything looks good, approve and merge the PR!
- Be active in the SWOC discord/community.
- Respond to GitHub issues and PRs promptly (within 24-48 hours is good practice).
- Be welcoming! Open source can be intimidating for new folks.
- Thank your contributors.
- Update your
CONTRIBUTORS.md(if you have one) to recognize their work.
Good luck! You're going to build something amazing while helping others learn.