From b12176f37c9ec0d4473625ad99c0251f1ea70c06 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Sat, 8 Oct 2016 22:02:00 -0700 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cf66488..ed8eef7 100644 --- a/README.md +++ b/README.md @@ -191,19 +191,21 @@ Want your website featured here? [Contact me](http://deanattali.com/aboutme#cont | [otomatikmuhendis.com](http://otomatikmuhendis.com/) | Olcay Bayram | Software engineer | -### Docker +### Very advanced: Local development using Docker Beautiful Jekyll is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps to do that with Docker: -1. Make sure that you have Docker installed on your local environment. More details can be found [here](https://docs.docker.com/engine/installation/) +1. Make sure that you have Docker installed on your local environment. Installation instructions can be found [here](https://docs.docker.com/engine/installation/) 2. Clone your fork `git clone git@github.com:yourusername/yourusername.github.io.git` 3. Inside your repository folder, run: -``` -docker run -p 4000:4000 -v `pwd`:/app mangar/jekyll:1.1 bash -c "bundle install; bundle exec jekyll serve" -``` + ``` + docker run -p 4000:4000 -v `pwd`:/app mangar/jekyll:1.1 bash -c "bundle install; bundle exec jekyll serve" + ``` 4. View your website at . - +Disclaimer: I personally am NOT using local development so I don't know much about running Jekyll locally. If you follow this route, please don't ask me questions because unfortunately I honestly won't be able to help! + +Aditionally, if you choose to deploy Jekyll using a local ruby installation, you can tell Jekyll to automatically categorize your blog posts by tags. You just need to set `link-tags: true` in `_config.yml`. Jekyll will then generate a new page for each unique tag which lists all of the posts that belong to that tag. ### Credits