This is my approach to a simple personal website to primarily show blog entries, hosted by GitHub. I started from scratch, reusing some structural parts of my previous website. Have not used jekyll before and found the two examples from Huxpro and daattali very helpful while learning it.
-
sudo apt-get install ruby ruby-dev -
gem install bundler jekyll -
bundle install
Local setup in Ubuntu terminal with rbenv
-
sudo apt-get remove ruby ruby-dev -
sudo apt install rbenv -
rbenv initand reopen terminal -
rbenv install -land choose wanted version -
rbenv local [the version you chose in the step above] -
gem install bundler jekyll -
bundle install
bundle exec jekyll serve --trace
will provide the page at localhost:4000.