Update README.md

This commit is contained in:
Martin Danielsson 2016-04-11 09:23:05 +02:00
parent aa7c91649b
commit 6f663fb2d5
1 changed files with 3 additions and 1 deletions

View File

@ -63,6 +63,8 @@ But you can try this:
### Setting up jekyll using docker
**Note**: This will work both on Windows and Mac OS X, in case you do not want to "pollute" your local machine with ruby packages.
If you have a working `docker` setup on your machine, you can use the prepackaged docker image by the jekyll team to try out the blog generation using that image.
Pull the `jekyll/jekyll:pages` image to get something which behaves almost exactly (or really close to) the github pages generation engine:
@ -79,4 +81,4 @@ $ docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll \
jekyll/jekyll:pages
```
If everything works out, the jekyll server will serve the blog preview on `http://<ip of your docker machine>:4000`. More information on running jekyll inside docker can be found here: [github.com/jekyll/docker](https://github.com/jekyll/docker).
If everything works out, the jekyll server will serve the blog preview on `http://<ip of your docker machine>:4000`. More information on running jekyll inside docker can be found here: [github.com/jekyll/docker](https://github.com/jekyll/docker).