Update README.md
This commit is contained in:
parent
a6179ed4a9
commit
b12176f37c
12
README.md
12
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 <http://localhost:4000>.
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user