Thank you for considering contributing to the NFVNetwork Bolt Prompt Site! We welcome contributions from the community to help enhance and grow the platform.
Whether you're fixing a bug, adding new features, or improving documentation, this guide will help you get started.
Start by forking the repository to your GitHub account:
- Navigate to the repository:
https://github.com/nfvnetwork/nfv-net - Click the "Fork" button in the top right corner.
- Clone your forked repository:
git clone https://github.com/<your-username>/nfv-net.git cd nfv-net
Create a new branch for your feature or bug fix:
git checkout -b feature/my-awesome-feature Install all necessary dependencies to run the project:
npm install Run the project locally to test your changes:
npm start The development server will start at http://localhost:3000.
- Follow the code style and guidelines outlined below.
- Ensure your code is well-documented and organized.
- Test your changes thoroughly before committing.
Before submitting your changes, run all tests to ensure you didn't introduce any bugs:
npm test Use clear and descriptive commit messages:
git add .
git commit -m "Add feature: <brief description>" Push your changes to your forked repository:
git push origin feature/my-awesome-feature - Go to the original repository:
https://github.com/nfvnetwork/nfv-net - Click on "Pull Requests" and then "New Pull Request".
- Select your fork and branch, then submit your pull request.
- Provide a clear description of your changes in the pull request template.
- Write clean, modular, and reusable code.
- Use descriptive variable and function names.
- Follow the React best practices (functional components, hooks, etc.).
- Use the existing CSS/SCSS structure for styling.
- Follow the rules defined in
eslintandprettier. - Run the formatter:
npm run format
- Write unit tests for all new functionality using Jest.
- Ensure all tests pass before submitting a pull request.
If you find a bug or want to request a feature:
- Check the issue tracker to see if it’s already reported.
- If not, open a new issue. Be sure to include:
- A descriptive title.
- Steps to reproduce the issue (if applicable).
- Screenshots or logs for context.
We’re always open to new ideas! Submit your feature requests by creating a new issue and labeling it as enhancement. Please describe:
- The problem your feature solves.
- Why it’s important.
- Any potential implementation details.
By contributing, you agree to abide by our Code of Conduct.
If you have any questions, feel free to:
- Open an issue in the repository.
- Reach out to the community on our Discord.
Thank you for helping us make the NFVNetwork even better! 🚀