Here are some fantastic resources for making your Jekyll game strong!

Jekyll Development Website

Markdown Cheatsheet

Getting Your Jekyll Site on Github Pages

Other Sites Using Jekyll

Videos:

Common Vagrant Gotchas:

  • Command not found: What is happening is that after the jekyll install the ability to execute jekyll needs to be initialized
    • To fix this you need to run $ eval "(rbenv init -)"
  • Can not access localhost: Vagrant is currently configured to forward port 3000 to 3030 and that’s how we access our local server. The problem is that Jekyll runs by default on port 4000 which will not be accessible from our machine. You could go into the Vagrant configuration file and forward the port but that’s just a hassle. Jekyll allows us to solve this issue two ways.
    • Instead of running the default Jekyll server command $ jekyll serve you will need to run $ jekyll serve --host 0.0.0.0 --port 3000 and the problem is solved.
    • The other option is to go into the Jekyll _config.yml file and add port: 3000 and host: 0.0.0.0 underneath the # Build Settings section of the file.
  • Jekyll watch doesn’t work properly in Vagrant. The command jekyll serve --watch or shorthand jekyll serve -w is designed to watch for changes and automatically apply those changes so you don’t have to restart your server. The problem is that it doesn’t work well with vagrant.
    • To solve you will want to run jekyll serve -w --force_polling this will force jekyll to pull the new changes.

Share With Your Friends



  • comments powered by Disqus