Thank you for your interest in contributing to opensilex-docker-compose! We appreciate all contributions, whether they're code improvements, documentation updates, bug reports, feature requests, or anything else. Here's how you can help:
If you have a question about the project, consider opening an issue first to discuss it. This ensures that others can weigh in and provides a centralized place for discussion.
- Be welcoming to newcomers and encourage diverse points of view and experiences.
- Keep discussions constructive and positive.
- Communicate openly and honestly.
Unsure where to begin? You can start by looking through the Issues tab to find tasks labeled as good first issue.
To report a bug:
- Use the Bug Report Template
- Fill out all requested sections
- Attach screenshots or logs if relevant
To propose an improvement:
- Use the Feature Request Template
- Clearly explain the expected benefits
- Propose a solution if you have one
- Fork the Project
- Create a branch (
git checkout -b branch-name) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin branch-name) - Open a Merge Request
Note: Always write a clear log message for your commits. One-line messages are fine for small changes, but larger changes should look like this:
Short (50 chars or less) summary of changes
More detailed explanatory text, if necessary. Wrap it to about 72 characters or so.
Further paragraphs come after blank lines.
- Bullet points are okay, too
- Explain the problem the change addresses and why it's needed
- Explain the change you've made
- Mention any dependencies you've changed or added
- Explain users of older environments or database schema changes
- Explain places you believe the code will affect
- Explain other effects of this MR
## Setup
Ensure you have Docker and Docker Compose installed on your machine. Refer to the official Docker documentation for installation instructions.
### Local Setup
Follow the setup instructions in the [README.md](README.md) to get the project running locally.
### Making Changes
- Create a named branch for your changes (`git checkout -b my-feature-branch`)
- Make commits of logical units of work; no half-done work.
- Use a descriptive commit message.
```sh
git commit -m "Adds feature X"
After making changes, ensure your code runs successfully with
docker compose --env-file opensilex.env build --build-arg UID=$(id -u) --build-arg GID=$(id -g)
docker compose --env-file opensilex.env up start_opensilex_stack -dand passes any existing tests.
Open a Merge Request with a clear title and description. Explain what you did and why.
To contribute to opensilex-docker-compose, follow these steps:
Fork this repository to your GitLab account.
Clone your forked repository to your local machine:
git clone https://github.com/OpenSILEX/opensilex-docker-compose
# or
# git clone https://forgemia.inra.fr/OpenSILEX/opensilex-docker-compose.git
cd opensilex-docker-composeMake your changes in a new git branch:
git checkout -b my-feature-branchEnsure your changes don't break the build. If there are tests, run them:
docker compose --env-file opensilex.env build --build-arg UID=$(id -u) --build-arg GID=$(id -g)Commit your changes:
git commit -m "Your detailed description of your changes."Push your changes to GitLab:
git push origin my-feature-branchCreate a merge request against the main branch.
- Do not rebase your branch off
main. - **Include screenshots of the UI and save them in the GitLab repository.
- Docker Documentation
- Docker Best Practices