Jekyll requires Ruby, so you’ll first need to install it. On Ubuntu, just run:
sudo apt-get install ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
gem install jekyll bundler
From your Linux shell, navigate to your GitHub repository created earlier and run:
jekyll new .
gem update
rm Gemfile.lock
bundle update
Run Testserver and Access with http://localhost:4000
bundle exec jekyll serve --drafts --livereload