My Static Site hosting on Github
To install Jekyll software for local testing:
- Run command:
gem install bundler
- Go to root directory of repo and create file called
Gemfile
- Add line
gem 'github-pages'
to top of Gemfile - Run command
bundle install
In the repo root folder, run command bundle exec jekyll serve
Every once in a while, update Jekyll with the command bundle update
in the root directory.
Just run the script sudo update_and_run_jekyll.sh
from the repo root directory. It will update the software and then run the test server on port 4000.