How To Github Jekyll
Install git
- Download git
- Configure your git (you will get prompted for credential when you try to commit later)
git config --global user.name "myusername"git config --global user.email "myemailaddress@email.com"
- Clone your existing repo for your website
cd c:\mygithubgit clone https://github.com/quickmute/quickmute.github.io.git
Install Ruby with devkit
- Download Ruby
- Click on
Start Command Prompt with Rubyfrom your Start Menu
Install Jekyll
- Use the Ruby command prompt
gem install bundler jekyll - Go to the parent path where you cloned the repo
cd c:\mygithub - Create your site
jekyll new quickmute.github.io
Build and deploy your site
- Go into your directory
cd quickmute.github.io - Build the site
jekyll build - Test your site
bundle exec jekyll serve - Stage and Push the changes
git add .git commit -m "my changes"git push
Write and publish a post
- Go to
_postsdirectory - Create a new file that looks something like this
YYYY-MM-DD-title.md(replace YYYY-MM-DD with today’s date) - Edit and save your new markdown file
- Go up to parent directory
- Re-build the site and test
jekyll buildbundle exec jekyll serve
- Re-publish the site
git add .git commit -m "new post"git push
Journey Continues
Now follow this instructions to customize your site. Jekyll Step 01
Themes
Troubleshooting
Got a activated_spec error?
Try running bundle clean --force