From 33840ba158d2975c981fee0be84a255e4793418e Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Tue, 8 Mar 2022 21:54:56 -0700 Subject: Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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` -- cgit v1.2.3