Skip to content

Commit

Permalink
Changed run local instructions to use Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
gsimard committed Jun 30, 2016
1 parent d9d5eec commit 51d107d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
4 changes: 0 additions & 4 deletions Gemfile

This file was deleted.

17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,12 @@ author:

# Run locally

Install dependencies:

```sh
gem install bundle
bundle install
```

Run:
```sh
bundle exec jekyll server

> Server address: http://127.0.0.1:4000/
> Server running... press ctrl-c to stop.
cd /path/to/your/repo
docker run --volume=$(pwd):/srv/jekyll -p 4000:4000 jekyll/jekyll
```
You can then access your local copy of the blog via http://localhost:4000/

Changes made to your local files will be reflected on your blog live.

For more help and info, Jekyll documentation has a nice [installation page](http://jekyllrb.com/docs/installation/)
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ inc:
google_font: 'Droid+Sans:400,700'

gems: [jekyll-paginate]
exclude: ['Gemfile', 'Gemfile.lock']

0 comments on commit 51d107d

Please sign in to comment.