agentzh / openresty

The reference implementation of the OpenResty server in Perl and Haskell

This URL has Read+Write access

agentzh (author)
Mon May 11 02:56:32 -0700 2009
commit  8463c31834e1d007da26b8b6549e4d06b5963b70
tree    0dc2e6d6403583a14dd4a9e753de9892dc5dd6c9
parent  0761583b33a1c9e6011a9eab4be4bf8ee6684a5e
openresty / demo / Blog
name age message
..
file Makefile Loading commit data...
file README
file TODO
directory css/
directory doc/
directory image/
directory js/
directory script/
directory template/
demo/Blog/README
This is the source for the blog site http://blog.agentzh.org .

How to setup the site:

* First of all, ask agentzh for an OpenAPI account by writing to agentzh@yahoo.cn

* cd into this directory and enter the following commands:

    $ sudo cpan Jemplate WWW::OpenResty YAML Template
    $ script/init.pl -u your_account -p your_password -s your_server
    $ vim js/blog.js  # change "agentzh" to your account name
    $ vim Makefile    # change blog_name and blog_desc to your own
    $ make
    $ firefox out/index.html &

Note that you need the whole OpenResty source tree to build this site.
Because some of the .js files are copied over from ../../clients/js/
and somewhere else :)