Thank you for your interest in contributing to the "Redot" Game Engine Website! 🎉
This project is an open-source initiative, and we welcome contributions that help improve the website's development in Vue, JavaScript, CSS, TypeScript, and SCSS.
By contributing, you help create a better user experience for the Redot community.
We value any kind of contribution, including (but not limited to):
- Reporting bugs 🐛
- Suggesting new features or improvements 🚀
- Fixing bugs 🛠️
- Improving documentation 📚
- Refactoring or optimizing code ⚡
- Writing tests 🧪
-
Fork the repository:
You will need to fork this repository to your own GitHub account, then clone it to your local machine. -
Install dependencies:
After cloning the repository, navigate to the project folder and run:# npm npm install
-
Start the development server: Run the following command to start a local development environment:
# npm npm run dev
This will start a server at http://localhost:3000, where you can preview your changes live.
-
Create a new branch: When making changes, create a new branch to work on your contribution:
git checkout -b your-feature-branch
-
Make your changes: Edit the code, write tests if necessary, and ensure the project is still functioning as expected.
-
Run linting and tests: To ensure that the code meets our style and quality standards, please run:
npm run lint npm test
-
Submit a pull request: Once you're satisfied with your changes, push your branch to your fork and submit a pull request (PR) to the main repository. Please include a clear title and description of your changes.
Please follow these guidelines to ensure your contribution is well-received:
- Follow the existing code style used in the project.
- Use TypeScript when writing new functionality or updating code where it is already used.
- SCSS is used for styling, and we prefer modular, reusable components.
- Comment your code where necessary, especially for complex logic or design choices.
- Use clear and concise commit messages.
- Prefix your commit messages with relevant tags, such as [Fix], [Feature], [Refactor], etc.
example:[Feature] Add new navbar component for responsive design
- Ensure your pull request is based on the main branch.
- Include a detailed explanation of the changes you have made.
- Reference related issues if applicable, e.g., Fixes #123.
- Be open to feedback! We review all PRs to maintain the project's quality.
To report a bug:
-
Check if the issue is already reported: Before opening a new issue, please ensure that it hasn't been already reported in the issue tracker.
-
Open a new issue: If the issue is new, please include clear, step-by-step details to reproduce the bug and any relevant screenshots or logs.
If you need help or have questions about contributing, please join our community on Discord, where our maintainers and contributors are happy to assist. 🤝
If you ever feel that your contributions or feedback were misjudged or not treated fairly, you can report or appeal on our Discord. We are committed to ensuring that the development process is fair, respectful, and inclusive for everyone.
Please review our Code of Conduct before contributing. We are committed to maintaining a welcoming and friendly community.
By contributing, you agree that your contributions will be licensed under the MIT License.