git clone https://github.com/klml/drfrederson drfrederson-site
cd drfrederson-site
git submodule init
git submodule update --recursive
./make.sh
(cat make.sh
显示:
cd _drf
php make.php $1)
as3:~/drfrederson-site# ./make.sh ( 这个就是生成/更新静态网站的命令)
显示:
[SUCCESS] written: ../html/about.html about here
[SUCCESS] written: ../html/area:sidebar_alter.html Other Sidebar
[SUCCESS] written: ../html/area:sidebar.html Sidebar
[SUCCESS] written: ../html/area:navigation.html
[SUCCESS] written: ../html/area:footer.html
[SUCCESS] written: ../html/meta.html meta
[SUCCESS] written: ../html/index.html Main and startpage
[SUCCESS] written: ../html/foo.html Foo - Bar
[SUCCESS] written: ../html/drf:example.html Example page
[SUCCESS] written: ../html/drf:drf-custom-js.html drf-custom-js
[SUCCESS] written: ../html/drf:admin.html All Administration
[SUCCESS] written: ../html/drf:drf-custom-css.html drf-custom-css
[SUCCESS] written: ../html/drf:404error.html 404
as3:~/drfrederson-site# ls
_drf html lib make.sh README.md robots.txt source template
as3:~/drfrederson-site# ls html
about.html drf:404error.html foo.html
area:footer.html drf:admin.html index.html
area:navigation.html drf:drf-custom-css.html meta.html
area:sidebar_alter.html drf:drf-custom-js.html
area:sidebar.html drf:example.html
as3:~/drfrederson-site# cd html
as3:~/drfrederson-site/html# ls
about.html drf:404error.html foo.html
area:footer.html drf:admin.html index.html
area:navigation.html drf:drf-custom-css.html meta.html
area:sidebar_alter.html drf:drf-custom-js.html
area:sidebar.html drf:example.html
as3:~/drfrederson-site/html# nohup Rwebserver 45274 > /dev/null &
访问http://as3.brite.biz:45274/即可看到网站效果。
发帖方法:
as3:~/drfrederson-site/html# cd ../source
as3:~/drfrederson-site/source# nano test1.md
格式为:
## 测试1
这是测试1.
然后,
as3:~/drfrederson-site/source# cd ..
as3:~/drfrederson-site# ./make.sh
演示站点:http://as3.brite.biz:45274,http://as3.brite.biz:45274/test1.html
http://as3.brite.biz:45274/foo.html,http://as3.brite.biz:45274/about.html
作者的示范站点:http://drf.grus.uberspace.de/
项目地址:https://github.com/klml/drfrederson/
https://github.com/klml/drfrederson/wiki/Setup
cd drfrederson-site
git submodule init
git submodule update --recursive
./make.sh
(cat make.sh
显示:
cd _drf
php make.php $1)
as3:~/drfrederson-site# ./make.sh ( 这个就是生成/更新静态网站的命令)
显示:
[SUCCESS] written: ../html/about.html about here
[SUCCESS] written: ../html/area:sidebar_alter.html Other Sidebar
[SUCCESS] written: ../html/area:sidebar.html Sidebar
[SUCCESS] written: ../html/area:navigation.html
[SUCCESS] written: ../html/area:footer.html
[SUCCESS] written: ../html/meta.html meta
[SUCCESS] written: ../html/index.html Main and startpage
[SUCCESS] written: ../html/foo.html Foo - Bar
[SUCCESS] written: ../html/drf:example.html Example page
[SUCCESS] written: ../html/drf:drf-custom-js.html drf-custom-js
[SUCCESS] written: ../html/drf:admin.html All Administration
[SUCCESS] written: ../html/drf:drf-custom-css.html drf-custom-css
[SUCCESS] written: ../html/drf:404error.html 404
as3:~/drfrederson-site# ls
_drf html lib make.sh README.md robots.txt source template
as3:~/drfrederson-site# ls html
about.html drf:404error.html foo.html
area:footer.html drf:admin.html index.html
area:navigation.html drf:drf-custom-css.html meta.html
area:sidebar_alter.html drf:drf-custom-js.html
area:sidebar.html drf:example.html
as3:~/drfrederson-site# cd html
as3:~/drfrederson-site/html# ls
about.html drf:404error.html foo.html
area:footer.html drf:admin.html index.html
area:navigation.html drf:drf-custom-css.html meta.html
area:sidebar_alter.html drf:drf-custom-js.html
area:sidebar.html drf:example.html
as3:~/drfrederson-site/html# nohup Rwebserver 45274 > /dev/null &
访问http://as3.brite.biz:45274/即可看到网站效果。
发帖方法:
as3:~/drfrederson-site/html# cd ../source
as3:~/drfrederson-site/source# nano test1.md
格式为:
## 测试1
这是测试1.
然后,
as3:~/drfrederson-site/source# cd ..
as3:~/drfrederson-site# ./make.sh
演示站点:http://as3.brite.biz:45274,http://as3.brite.biz:45274/test1.html
http://as3.brite.biz:45274/foo.html,http://as3.brite.biz:45274/about.html
作者的示范站点:http://drf.grus.uberspace.de/
项目地址:https://github.com/klml/drfrederson/
https://github.com/klml/drfrederson/wiki/Setup