Jekyll guide for static pages
First create your new repository named username.github.io, where *username *is your username on GitHub. Second install Ruby on system.
Check if ruby in running with
ruby -v
Second install all dependencies:
sudo apt-get install ruby-full build-essential zlib1g-dev
Install Chocolatey on Administrator mode or Powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Second install ruby:
cinst ruby
Install Jekyll:
gem install jekyll bundler
Create your new site:
jekyll new myblog
where myblog is your *username * or repository name.
Change the bash to your new directory:
cd myblog
Build the site and make it available on a local server:
bundle exec jekyll serve
Now browse to http://localhost:4000
Example link theme in github: https://github.com/sujaykundu777/devlopr-jekyll
Edit _config.yml and add :
remote_theme: sujaykundu777/devlopr-jekyll
or
git clone https://github.com/sujaykundu777/devlopr-jekyll.git
cd devlopr-jekyll
bundle install
bundle exec jekyll serve
jekyll serve
Configurando Jekyll para GitHub Pages em 60 Segundos
Setting up a GitHub Pages site with Jekyll