Running on a local Server
Table of contents
- Installation of RubyGem on Windows
- Installing Just the docs using Gem
- Possible Errors you might encounter
Installation of RubyGem on Windows
You need to use RubyGem in order to run this jekyll theme
- Head to the RubyInstaller.org
- Under the option WITH DEVKIT
- Install from the first link
- The installation procedure begins, you just need to click on ‘Next’ and let the default options be selected.
- Make sure the Path is added to your environment variable
- After the installation of Ruby, you’ll be prompted with command prompt where you just need to click ‘Enter’
- After a period of time, you need to click ‘Enter’ again
- Assuming that you have followed the steps properly
- Your installation should have been successful
- Open your command prompt and type following command
-
gem -v
- Output should display the version of RubyGem installed
-
Installing Just the docs using Gem
- Install the Ruby Gem
$ gem install just-the-docs
- Add Just the docs to your Jekyll site’s
_config.yml
theme: "just-the-docs"
- Run your local jekyll server
$ jekyll serve
- Your server address in the terminal output would specify the server address.
I highly recommend to follow pdmosses-just-the-docs tutorial
Possible Errors you might encounter
Atleast I did ¯\(ツ)/¯