Skip to content

Commit

Permalink
update readme for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
robhowley committed Aug 6, 2024
1 parent 139c479 commit a91c497
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: CI
on:
push:
pull_request:

jobs:
test:
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Runs on [git pages](https://pages.github.com/) using [jekyll](https://jekyllrb.c

## Local dev

Can run locally using docker compose. Run
### Running site locally

```
docker compose up
Expand All @@ -19,3 +19,11 @@ docker compose up
and go to [localhost:4000](http://localhost:4000/). Changes to the _content_ will live reload.

_Note_: changes to the `_config.yml`, e.g. theme, or the `Gemfile` will require restarting the container.

### pre-commit

The linting steps that run in CI are available as pre-commit checks as well. To set them up run

```shell
pre-commit install
```

0 comments on commit a91c497

Please sign in to comment.