Welcome! Dev-Scope is part of HashSlap Summer of Code (HSSoC) and is perfect for first-time contributors. This guide will help you make your first contribution.
- Getting Started
- Development Setup
- Making Contributions
- Code Style Guidelines
- Testing
- Pull Request Process
- Community Guidelines
-
⭐ Star the Repository
- Show your support by starring the repository
-
Fork the Repository
- Click the 'Fork' button at the top right of this repository
- This creates your own copy of the repository
-
Clone Your Fork
git clone https://github.com/<your-username>/dev-scope.git cd dev-scope
-
Add Upstream Remote
git remote add upstream https://github.com/HashSlap-Summer-of-Code/dev-scope.git
-
Prerequisites
- Node.js (v14 or later)
- npm or npx
- A code editor (VS Code recommended)
-
Local Development Server
npx http-server
-
View the Site
- Open http://127.0.0.1:8080/src/index.html
- If changes don't appear, hard refresh (Ctrl + F5 on Windows/Linux, Cmd + Shift + R on Mac)
-
Code Contributions
- Bug fixes
- New features
- Performance improvements
- Code cleanup and refactoring
-
Documentation
- README improvements
- Code comments
- Contributing guidelines
- Documentation fixes
-
Design
- UI improvements
- Accessibility enhancements
- Responsive design fixes
-
Create a Branch
git checkout -b feature/your-feature-name # or git checkout -b fix/your-fix-name -
Make Your Changes
- Keep changes focused and atomic
- Follow the code style guidelines
- Add comments where necessary
-
Commit Your Changes
git add . git commit -m "type: brief description of changes"
Commit message types:
- feat: New feature
- fix: Bug fix
- docs: Documentation changes
- style: Code style/formatting
- refactor: Code refactoring
- test: Adding tests
- chore: Maintenance tasks
-
Stay Updated
git fetch upstream git rebase upstream/main
- Use semantic HTML elements
- Include proper alt text for images
- Keep indentation consistent (2 spaces)
- Use meaningful class names
- Follow BEM naming convention
- Keep selectors simple and maintainable
- Use ES6+ features when appropriate
- Add comments for complex logic
- Follow camelCase naming convention
- Keep functions small and focused
-
Manual Testing
- Test in multiple browsers
- Check mobile responsiveness
- Verify all features work as expected
-
Cross-browser Testing
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
-
Create Pull Request
- Use a clear, descriptive title
- Fill out the PR template
- Link related issues
-
PR Description Should Include:
- What changes were made
- Why the changes were made
- How to test the changes
- Screenshots (if applicable)
-
Review Process
- Address reviewer comments
- Make requested changes
- Keep discussions focused
-
After Merge
- Delete your branch
- Celebrate your contribution! 🎉
-
Be Respectful
- Treat all contributors with respect
- Be patient with newcomers
- Accept constructive criticism
-
Communication
- Keep discussions on-topic
- Use clear, concise language
- Ask questions if unclear
-
Support
- Help others when you can
- Share knowledge
- Point to relevant documentation
- Join our Discord
- Check existing issues and PRs
- Ask questions in discussions
Thank you for contributing to Dev-Scope! 💙