Github Pages With Jekyll_initialisation
Simpler than I thought to set up a jekyll static website up and running with github pages:
-
clone a repo created with the name:
<githubUserName>.github.io
-
$ sudo snap install ruby --classic $ gem install bundler
-
Create Jekyll in the repo directory
$ jekyll new . # Creates a Jekyll site in the current directory
-
Configurations: open
Gemfile
which was just created and follow the instructions -
$ bundle update
if gem ‘rouge’ can’t be found $ bundle exec jekyll serve
Run the server locally and edit the content before committing and pushing the ropo- git add, commit, push