Skip to content

Commit

Permalink
adding Contributing section
Browse files Browse the repository at this point in the history
solving linting problems

solving linting problems

solving linting problems

adding a comment about squashing commits
  • Loading branch information
fracappa committed Jun 14, 2024
1 parent 34b64e7 commit 2ed6b40
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
52 changes: 52 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Contributing to FLUIDOS Node #

First of all, thank you for your time!

This section provides guidelines and suggestions for the local development of FLUIDOS Node components.

## Local development ##

To better articulate the process, here's a refined version:

When developing a new feature, it is beneficial to test changes in a local environment and debug the code to identify potential issues. To facilitate this, you can use the provided setup.sh script for the quick start example. This script helps you create two development clusters using KinD and install FLUIDOS Node along with its dependencies on both clusters.

To get started, follow these steps:

1. Run the `/tools/scripts/setup.sh` script.
When prompted, choose the type of environment:
- Select option 1 for one consumer and one provider cluster.
- Select option 2 for an environment with multiple consumers and providers.
2. Confirm with "yes" when asked if you want to use local repositories.

## How to contribute ##

We welcome contributions to the project! To ensure a smooth process, please follow these steps:

1. ### Open a issue ###

When reporting a bug, requesting a new feature, or suggesting documentation improvements, please use the appropriate labels:
- **bug** for reporting a bug
- **enhancement** for a new feature
- **documentation** for documentation improvements

2. ### Fork the Repository ###

Create your own copy of the repository.

3. ### Create a New Branch ###

It is recommended to create a new branch in your fork to work on the requested modifications.

4. ### Merge Modifications ###

After making the necessary changes, merge them into your fork's main branch. Ensure you have rebased your branch from the remote upstream repository.

5. ### Test and Resolve Conflicts ###

Test your changes thoroughly and resolve any potential merge conflicts.

6. ### Open a Pull Request (PR) ###

Once your modifications are tested and conflicts are resolved, open a PR to the main repository. Remember to squash all your commits during the PR.

Thank you for your contributions!
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ Want to know how to install a FLUIDOS Node? Check out the [**Installation**](./d
## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.

## How to Contribute

Please, refer to the [Contributing](CONTRIBUTING.md) guide on how to contribute.

0 comments on commit 2ed6b40

Please sign in to comment.