Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update documentation to add pre-commit installation
- Loading branch information
1 parent
eb2c1ef
commit 407801d
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# Developer notes | ||
|
||
## How to have a Keycloak for testing purpose | ||
## Install Pre-commit | ||
|
||
Run a docker container: | ||
Install all pre-commit hooks: | ||
|
||
```bash | ||
docker run -d --rm --name keycloak -p 9000:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak:10.0.0 | ||
pre-commit install | ||
pre-commit install --hook-type commit-msg | ||
``` |