So, once you create your first and minimal GitHub pages Jekyll site, what else is required for local development? Easy, just follow these few steps.
-
Make sure you have the local Jekyll development environment setup, i.e. follow the instructions in installing Jekyll.
-
Add the following contents to the Gemfile in your repository:
source "https://rubygems.org" gem "github-pages"
-
Run
bundle install
:bundle install --path=vendor/bundle
-
Add any necessary plugins to your
_config.yml
. For example:plugins: - jekyll-paginate
It’s that easy! Sure, not quite as easy as going to publish directly to GitHub pages to see how your site looks, but much faster for adjusting styling, for example.
20180526/https://jekyllrb.com/docs/plugins/
20180526/DuckDuckGo github pages install themes locally
20180526/https://stackoverflow.com/questions/45803463/how-do-i-install-one-of-github-pages-jekyll-themes-for-local-preview#45804000