Github: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Host web site = | |||
* [http://blog.teamtreehouse.com/using-github-pages-to-host-your-website Using GitHub Pages To Host Your Website] using a Custom Domain. | |||
= [http://jekyllrb.com/ Jekyll] = | = [http://jekyllrb.com/ Jekyll] = | ||
* [https://help.github.com/articles/using-jekyll-with-pages/ Using Jekyll with Pages] | * [https://help.github.com/articles/using-jekyll-with-pages/ Using Jekyll with Pages] |
Revision as of 09:16, 7 July 2015
Host web site
- Using GitHub Pages To Host Your Website using a Custom Domain.
Jekyll
Install Jekyll
on Ubuntu 14.04 I use (the second command will take a while to start),
sudo apt-get install ruby1.9.1-dev sudo gem install jekyll
Example 1
cd /tmp jekyll new MyNewSite # It will create a new folder 'MyNewSite' with about.md, _config.yml, css (folder), # _includes (folder), index.html, _layouts (folder), _posts (folder) and _sass (folder). cd MyNewSite jekyll serve --watch # It'll say the Server Address: http://127.0.0.1:4000/ # We can open a browser to see a template of html page created by '''jekyll new''' command.