After spending the whole weekend playing with jekyll, I finally got it working properly. If you follow these steps it will save you a lot more time.
Find a Jekyll theme template
jekyllthemes.org is the best. Pick a simple one, then clone the git. The theme template already includes markdown files for posts and index pages. Rename the folder to yourgitusername.github.io.
- Install Bundler
gem install bundler
bundle installto install all dependencies
I ran into problems with installing Bundler. Here are some tips:
- Show RubyGems Environment:
- Check ruby version:
Configure and run Jekyll
- Build site
- Run Jekyll
- Customize the template
After making changes, you must do
serve again to reflect the changes.
Deploy to github
- Create a new repository yourusername.github.io
- Push your local file to github