aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-03-08 21:54:56 -0700
committerGitHub <[email protected]>2022-03-08 21:54:56 -0700
commit33840ba158d2975c981fee0be84a255e4793418e (patch)
tree8293f1492b394db15469aeb7636107e61f5c67e8
parente660c662de6ace7e61277b001d86bbf08d4444df (diff)
downloadcoinos-server-33840ba158d2975c981fee0be84a255e4793418e.tar.gz
coinos-server-33840ba158d2975c981fee0be84a255e4793418e.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 88af2067..632ac28e 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,14 @@ docker exec -it bitcoin bitcoin-cli -datadir=config/ generatetoaddress 10 $(dock
For reviewing output, you may run `docker-compose logs` or run the docker-compose up command above but without the `-d `flag
+### Setup pre-commit git hooks
+
+ We have a pre-commit git hook for running prettier on all files to keep the formatting consistent.
+
+ `git config core.hooksPath "./git_hooks"` - This will set the git config path to use this directory for hooks.
+
+ `chmod +x ./git_hooks/pre-commit` - This will give the hook the necessary permissions to run.
+
### Config changes
Navigate to `./config/index.js`