Skip to content

Commit

Permalink
Merge pull request #191 from DirtyF/patch-2
Browse files Browse the repository at this point in the history
Docs: Build for production
  • Loading branch information
DirtyF authored Dec 3, 2017
2 parents ec26046 + 3b74a7b commit 0f1f16e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ sitemap flag to `false` in the front matter for the page/post.
sitemap: false
```

## Override default development settings

[Since Jekyll 3.3 default URL is set to http://localhost:4000 in development environment](https://jekyllrb.com/news/2016/10/06/jekyll-3-3-is-here/#3-siteurl-is-set-by-the-development-server).

If you need to build for your production environment then you should:

1. Set your production URL in `_config.yml` e.g. `url: https://example.com`.
2. Build for production with `JEKYLL_ENV=production bundle exec jekyll build`.

## Developing locally

Use `script/bootstrap` to bootstrap your local development environment.
Expand Down

0 comments on commit 0f1f16e

Please sign in to comment.