Skip to content

Instantly share code, notes, and snippets.

@BeFiveINFO
Created October 10, 2015 10:26
Show Gist options
  • Save BeFiveINFO/3620d7b0664521c162ed to your computer and use it in GitHub Desktop.
Save BeFiveINFO/3620d7b0664521c162ed to your computer and use it in GitHub Desktop.
In terminal:
If you have a new local github repo without any file added, do:
$ jekyll new ./
It installs all the default jekyll files in the directory.
To launch a local server:
$ jekyll serve
You can now view the site at http://127.0.0.1:4000/
To build the site and watch, do:
$ jekyll build --watch
Note: _config.yml does not seem to be reflected even if you modify the file while watch is running. Start from build once again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment