as3:~# git clone git://gitorious.org/fugitive/fugitive.git
as3:~# cd fugitive
as3:~/fugitive# ./build.sh
as3:~/fugitive# ./fugitive --install-local ~/fugitive/fugitive-site
as3:~/fugitive# git config fugitive.blog-url
as3:~/fugitive# cd ~/fugitive/fugitive-site
as3:~/fugitive/fugitive-site# ls
_articles _drafts _public _templates (~/fugitive/fugitive-site/_public/就是静态网站的根目录)
发贴方法:
as3:~/fugitive/fugitive-site# cd _articles
as3:~/fugitive/fugitive-site/_articles# nano test1 (The first line of the file will be used as title and the rest of the file as the content of the article. Article you want to publish should be a file without the .html extension)
帖子的格式如下:
测试1
这是测试1.
as3:~/fugitive/fugitive-site/_articles# cd ..
as3:~/fugitive/fugitive-site# git add .
as3:~/fugitive/fugitive-site# git commit -m "xx"
demo site: http://as3.brite.biz:5538/,http://fgt.brite.biz
项目地址:https://gitorious.org/fugitive
http://shebang.ws/fugitive-readme.html
as3:~# cd fugitive
as3:~/fugitive# ./build.sh
as3:~/fugitive# ./fugitive --install-local ~/fugitive/fugitive-site
as3:~/fugitive# git config fugitive.blog-url
as3:~/fugitive# cd ~/fugitive/fugitive-site
as3:~/fugitive/fugitive-site# ls
_articles _drafts _public _templates (~/fugitive/fugitive-site/_public/就是静态网站的根目录)
发贴方法:
as3:~/fugitive/fugitive-site# cd _articles
as3:~/fugitive/fugitive-site/_articles# nano test1 (The first line of the file will be used as title and the rest of the file as the content of the article. Article you want to publish should be a file without the .html extension)
帖子的格式如下:
测试1
这是测试1.
as3:~/fugitive/fugitive-site/_articles# cd ..
as3:~/fugitive/fugitive-site# git add .
as3:~/fugitive/fugitive-site# git commit -m "xx"
demo site: http://as3.brite.biz:5538/,http://fgt.brite.biz
项目地址:https://gitorious.org/fugitive
http://shebang.ws/fugitive-readme.html