Skip to content

Commit

Permalink
Added Docker note to README, closes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminEHowe committed Jun 30, 2024
1 parent 4dc5d6a commit bd94d73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Install gems using `bundle install`.

Run `bundle exec jekyll serve` and navigate to http://127.0.0.1:4000.

### Using Docker

- Windows (cmd): `docker run -it --rm -v %cd%:/app -w /app -p 127.0.0.1:4000:4000 ruby:3.3.1 sh -c "bundle install && bundle exec jekyll serve --force_polling -H 0.0.0.0"`
- macOS & Linux (bash): `docker run -it --rm -v "$PWD":/app -w /app -p 127.0.0.1:4000:4000 ruby:3.3.1 sh -c "bundle install && bundle exec jekyll serve -H 0.0.0.0"`

## Tests

Sadly there aren't any, yet, at least. I plan to fix this!
Expand Down

0 comments on commit bd94d73

Please sign in to comment.