Skip to content

rcook/blog-rcook-org

Repository files navigation

Richard's blog

Set up Bundler environment (Windows only)

. env.ps1

Preview locally

gem install bundler
bundle install
bundle exec rake preview

In order to rebuild the site quickly, this will only render the five most recent posts. To render all posts, set the JEKYLL_ALL_POSTS environment variable to 1:

JEKYLL_ALL_POSTS=1 bundle exec rake preview

You can also set the number of posts to render by setting the JEKYLL_LIMIT_POSTS environment variable:

JEKYLL_LIMIT_POSTS=20 bundle exec rake preview

Run tests:

bundle exec rake test

Acknowledgements

Licence

All content under _posts and assets is copyright Richard Cook and cannot be reused without explicit permission. All other content is released under the MIT licence and is copyright of its respective owners.