This is my first post, and I can’t think of anything more appropriate than to document how to run the site locally in order to preview changes before pushing them externally.
To run locally, execute the following command in the root directory of your repository:
bundle exec jekyll serve --incremental
This should regenerate your site files and you should be able to access the
local instance of your site at
There’s another trick here that you can use to write draft posts i.e. posts that are not shown on your site, unless you run the site with draft-publishing enabled.
As you probably already know, posts that you would like to be published go into
a specially named directory:
Any draft writings go into a specially named directory:
Then, run locally using the following command
bundle exec jekyll serve --incremental --drafts