Skip to content

Commit

Permalink
Add docker-compose config file for better dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharke committed Feb 21, 2024
1 parent 23fee5d commit 105bce2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
19 changes: 18 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ code submission via a merge/pull request is great, but not necessary.

If you encounter any issues with these themes on any devices, please submit a bug report with the device type and a detailed description of what
the issue that you're encountering is.

## Run locally

Make sure you have `docker` and `docker-compose` installed on your machine. Then, run the following command:

```bash
docker-compose up -d
```

This will start a local server at `http://localhost:4000` where you can see the website.

To watch the server logs, run:

```bash
docker-compose logs -f
```

<br /><br />

*Thank you*
*Thank you*
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# no version needed since 2020

services:
jekyll:
image: bretfisher/jekyll-serve
volumes:
- .:/site
ports:
- '4000:4000'

0 comments on commit 105bce2

Please sign in to comment.