git clone https://github.com/dz/chisel.git
cd chisel
as3:~/chisel# ls
chisel.py contents export README templates
as3:~/chisel# nano chisel.py
(可以修改主页显示的条目的数目:
HOME_SHOW = 5 #numer of entries to show on homepage )
as3:~/chisel# cd export
as3:~/chisel/export# ls
2013 archives.html index.html
as3:~/chisel/export#
(可见~/chisel/export就是静态网站的根目录)
as3:~/chisel/export# cd ../contents/
as3:~/chisel/contents# nano test1.md
格式如下:
test1 (标题不能为中文)
11/29/2013
这是测试1.
然后:
as3:~/chisel/contents# cd ..
as3:~/chisel# python chisel.py (这个就是更新静态网站的命令)
演示站点:http://as3.brite.biz:23487/,Http://cs.brite.biz
项目地址:https://github.com/dz/chisel
cd chisel
as3:~/chisel# ls
chisel.py contents export README templates
as3:~/chisel# nano chisel.py
(可以修改主页显示的条目的数目:
HOME_SHOW = 5 #numer of entries to show on homepage )
as3:~/chisel# cd export
as3:~/chisel/export# ls
2013 archives.html index.html
as3:~/chisel/export#
(可见~/chisel/export就是静态网站的根目录)
as3:~/chisel/export# cd ../contents/
as3:~/chisel/contents# nano test1.md
格式如下:
test1 (标题不能为中文)
11/29/2013
这是测试1.
然后:
as3:~/chisel/contents# cd ..
as3:~/chisel# python chisel.py (这个就是更新静态网站的命令)
演示站点:http://as3.brite.biz:23487/,Http://cs.brite.biz
项目地址:https://github.com/dz/chisel