Skip to content

Building The Site

Peter Johnson edited this page Jun 21, 2020 · 8 revisions

Build the site with:

bundle exec build

If there are no errors the built site will appear in the _site directory.

To view changes as you make them use Jekyll's built in test server. Run

bundle exec jekyll serve

This starts the server and watches for updates. The site is rebuilt after every save. Point your browser at http://127.0.0.1:4000 and refresh after you have saved changes to see the changes made to the site.

To exit the server press ctrl-c.

Note: any changes to _config.yml will not take effect until you have stopped and restarted the server.

IMPORTANT: When building a version of the site that will be uploaded to the server always build with bundle exec jekyll build.

Clone this wiki locally