Skip to content

Commit

Permalink
Add information on how to setup pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Mar 7, 2024
1 parent eda42f1 commit a0efc3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
The website is using [Jekyll](https://jekyllrb.com/) static website generator and [Github pages](https://pages.github.com/).
To run and develop it locally you would need [Ruby](https://www.ruby-lang.org/en/) and [Bundler](https://bundler.io/).
With Ruby, you can install bundler using `gem install bundler`.
Then install [`pre-commit`](https://repology.org/project/python:pre-commit/versions) to keep your commits clean.

After that all you need is:

```bash
git clone https://github.com/precice/precice.github.io && cd precice.github.io
pre-commit install
bundle install
git submodule init
git submodule update
Expand Down

0 comments on commit a0efc3e

Please sign in to comment.