There are three big steps listed below to construct a jekyll blog if I understand right.
- Accomplish the first step, you can write blogs already.
- For me, the second step is only used for testing. A local server may also be useful for you to browse blogs when you are off line.
- The third step gives shows how to correlate github blog with a domain name.
Basic three steps
Create a Github repository, names as
- Clone a constructed jekyll repository.
- Write blogs in _post folder according to Markdown syntax and push to Github.
Attention: Please be patient, it may take a while (about
10 minutes) for your blog to be accessed.
Congratulations! You can write things now.
Install local server
Here only lists instructions for Windows system since I am not familar with it. (For Unix-like system, it should be very easy.)
- Download portable servers from Madhur
Set environmental variable from My computer->property->Advanced system settings
for each program
cmdwindow and set UTF-8 character by running
chcp 65001to support Chinese characters if there is any.
Go to the directory contains the Github repository locally and run
jekyll serveto run local server.
Local sever may be helpful for debugging you posts.
Get another domain name
- Get a free domain name from dot.tk.
Forward this domain to USERNAME.github.com may be worked well
Remember set the global domain name in _config.xml
- Use DNSpod to support domain name parsing.
- Register at DNSpod and add the applied tk domain name.
- Use DNSpod supported DNS server like
f1g1ns.dnspod.net.to set your domain name DNS at dot.tk.
- Manage domain
A recordat DNApod.