You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+80-48Lines changed: 80 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,61 @@
1
1
# Contributing
2
2
3
-
If you would like to contribute to this project, please open an issue or a pull request. We are always looking for ways to improve the project and would love to hear your ideas.
3
+
Welcome to our project!
4
4
5
-
The latest changes are always in master branch, so please make your Pull Request against that branch.
5
+
We appreciate your interest in contributing. This guide will help you get started, ensuring an effective collaboration.
If you would like to contribute, please **open an issue** or a pull request. We are always looking for ways to improve the project and would love to hear your ideas.
33
+
34
+
The latest changes are always in **`master`** branch, so please make your Pull Request against that branch.
6
35
7
36
<br>
8
37
9
38
## 🚩 Development Requirements
10
39
11
40
Before you begin, you will need to set up your local development environment. Here is what you'll need:
12
41
13
-
-**Operating System**: macOS Monterey+, Linux, or Windows with WSL2.
14
-
-**Docker**: Version 26.0.0 or newer. Installation guides:
15
-
-[How To Install and Use Docker on Ubuntu 22.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04)
16
-
-[How To Install Docker Desktop on Mac](https://docs.docker.com/desktop/install/mac-install/)
17
-
-**Homebrew** (macOS only): Install via [brew.sh](https://brew.sh/).
18
-
-**mkcert** Install via [brew.sh/formula/mkcert](https://formulae.brew.sh/formula/mkcert#default) or follow their instructions [here](https://github.com/FiloSottile/mkcert?tab=readme-ov-file#installation).
42
+
***Operating System**: macOS Monterey+, Linux, or Windows with WSL2.
43
+
***Docker**: Version 26.0.0 or newer. Installation guides:
44
+
*[How To Install and Use Docker on Ubuntu 22.04](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04)
45
+
*[How To Install Docker Desktop on Mac](https://docs.docker.com/desktop/install/mac-install/)
46
+
***Homebrew** (macOS only): Install via [brew.sh](https://brew.sh/).
47
+
***mkcert** Install via [brew.sh/formula/mkcert](https://formulae.brew.sh/formula/mkcert#default) or follow their instructions [here](https://github.com/FiloSottile/mkcert?tab=readme-ov-file#installation).
19
48
20
49
### → Optional Tools
21
50
22
-
-[Pre-commit](https://pre-commit.com) — Automates the running of git pre-commit hooks.
23
-
- Installation: `brew install pre-commit` and `make hooks`
24
-
-[Cz-git](https://cz-git.qbb.sh) — Commitizen adapter, that assists in formatting git commits.
25
-
- Installation: `brew install czg`
51
+
*[Pre-commit](https://pre-commit.com) — Automates the running of git pre-commit hooks.
52
+
* Installation: `brew install pre-commit` and `make hooks`
53
+
*[Cz-git](https://cz-git.qbb.sh) — Commitizen adapter, that assists in formatting git commits.
54
+
* Installation: `brew install czg`
26
55
27
56
<br>
28
57
29
-
## 🛠️ Makefile
58
+
## 🔧 Using the Makefile
30
59
31
60
This project uses a Makefile to streamline common development tasks. The Makefile includes utilities for managing Docker environments, running tests, and linting code.
32
61
@@ -38,14 +67,14 @@ make help
38
67
39
68
### → Key Commands
40
69
41
-
-`make up`: Starts all services using Docker Compose.
42
-
-`make up-router`: Starts only traefik router container.
43
-
-`make up-dns`: Starts only dnsmasq container.
44
-
-`make down`: Stops and removes all services.
45
-
-`make stop`: Stops all services.
46
-
-`make logs`: Displays logs for all services.
47
-
-`make lint`: Executes all linting procedures for YAML, PHP, and Composer files.
48
-
-`make commit`: Runs cz-git, a commitizen adapter for commit message formatting in a native environment.
70
+
*`make up`: Starts all services using Docker Compose.
71
+
*`make up-router`: Starts only traefik router container.
72
+
*`make up-dns`: Starts only dnsmasq container.
73
+
*`make down`: Stops and removes all services.
74
+
*`make stop`: Stops all services.
75
+
*`make logs`: Displays logs for all services.
76
+
*`make lint`: Executes all linting procedures for YAML, PHP, and Composer files.
77
+
*`make commit`: Runs cz-git, a commitizen adapter for commit message formatting in a native environment.
49
78
50
79
Refer to the output of `make help` for a comprehensive list of available commands.
51
80
@@ -57,40 +86,41 @@ Refer to the output of `make help` for a comprehensive list of available command
57
86
>
58
87
> Please feature/fix/update... into individual PRs (not one changing everything)
59
88
60
-
-**Fork the Repository**: Start by forking the repository to your GitHub account.
61
-
-**Create a Branch**: In your fork, create a new branch for your work. Name it appropriately based on the feature, fix, or update you're working on.
62
-
-**Make Your Changes**: Implement your changes
63
-
-**Run Tests**: Ensure all tests pass and the code adheres to the coding standards.
64
-
-**Update Documentation**: If you've made changes that affect the project's documentation, ensure it is updated.
65
-
-**Run Linters**: Ensure your code passes all linting checks using `make lint`.
66
-
-**Commit Your Changes**: Use the [Conventional Commits](#-commit-message-guidelines) standard for your commit messages. You can use `make commit` to assist in creating commit messages.
67
-
-**Push Your Changes**: Push your branch to your fork on GitHub.
68
-
-**Open a Pull Request**: Submit a pull request to the `master` branch of the original repository. Ensure your PR is focused, addressing a single feature, fix, or improvement.
89
+
***Fork the Repository**: Start by forking the repository to your GitHub account.
90
+
***Create a Branch**: In your fork, create a new branch for your work. Name it appropriately based on the feature, fix, or update you're working on.
91
+
***Make Your Changes**: Implement your changes
92
+
***Run Tests**: Ensure all tests pass and the code adheres to the coding standards.
93
+
***Update Documentation**: If you've made changes that affect the project's documentation, ensure it is updated.
94
+
***Run Linters**: Ensure your code passes all linting checks using `make lint`.
95
+
***Commit Your Changes**: Use the [Conventional Commits](#-commit-message-guidelines) standard for your commit messages. You can use `make commit` to assist in creating commit messages.
96
+
***Push Your Changes**: Push your branch to your fork on GitHub.
97
+
***Open a Pull Request**: Submit a pull request to the `master` branch of the original repository. Ensure your PR is focused, addressing a single feature, fix, or improvement.
69
98
70
99
<br>
71
100
72
-
## ⚡️ Continuous Integration with GitHub Actions
101
+
## 🔨 Continuous Integration with GitHub Actions
73
102
74
103
Our project employs [GitHub Actions](https://github.com/features/actions) for continuous integration, ensuring code quality and reliability. We encourage contributors to review our workflow configurations to understand the CI processes:
|[`sync-from-tpl.yml`](workflows/shellcheck.yml)| Triggered only on down-stream templates. |
85
115
86
116
<br>
87
117
88
118
## 📝 Before You Contribute
89
119
90
-
-**Tests**: Include tests that cover any new features or bug fixes, if applicable.
91
-
-**Code Quality**: Utilize `make lint` for code style checks.
92
-
-**Documentation**: Update relevant documentation to reflect your changes, ensuring other developers can understand and use your contributions effectively.
93
-
-**Commits**: use Conventional Commits standard to create a commit
120
+
***Tests**: Include tests that cover any new features or bug fixes, if applicable.
121
+
***Code Quality**: Utilize `make lint` for code style checks.
122
+
***Documentation**: Update relevant documentation to reflect your changes, ensuring other developers can understand and use your contributions effectively.
123
+
***Commits**: use Conventional Commits standard to create a commit
94
124
95
125
<br>
96
126
@@ -186,10 +216,12 @@ Pre-commit hooks are an optional but highly recommended way to automate the lint
186
216
187
217
Our pre-commit configuration includes several hooks:
0 commit comments