From 1d476d4fb497ff92aa2c9a66900f8e0fbfd0655c Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sun, 18 Feb 2018 10:02:33 -0800 Subject: [PATCH] implement liveserve --- Gemfile | 1 + README.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 54948ec8f7656..1629566cf4197 100644 --- a/Gemfile +++ b/Gemfile @@ -23,4 +23,5 @@ group :jekyll_plugins do # gem "jekyll-archives" gem "jekyll-feed" gem 'jekyll-sitemap' + gem 'hawkins' end diff --git a/README.md b/README.md index 457fedd2e979e..12334cee6dc58 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,12 @@ I think I've got things running smoothly and fixed some major bugs, but feel fre See more info at https://academicpages.github.io/ ## To run locally (not on GitHub Pages, to serve on your own computer) + 1. Clone the repository and made updates as detailed above 1. Make sure you have ruby-dev, bundler, and nodejs installed: `sudo apt install ruby-dev ruby-bundler nodejs` 1. Run `bundle clean` to clean up the directory (no need to run `--force`) 1. Run `bundle install` to install ruby dependencies. If you get errors, delete Gemfile.lock and try again. -1. Run `bundle exec jekyll serve` to generate the HTML and serve it from localhost:4000 +1. Run `bundle exec jekyll liveserve` to generate the HTML and serve it from `localhost:4000` the local server will automatically rebuild and refresh the pages on change. # Changelog -- bugfixes and enhancements