public
Description: The reference implementation of the OpenResty server in Perl and Haskell
Homepage: http://search.cpan.org/dist/OpenResty
Clone URL: git://github.com/agentzh/openresty.git
agentzh (author)
Mon May 11 02:56:32 -0700 2009
commit  8463c31834e1d007da26b8b6549e4d06b5963b70
tree    0dc2e6d6403583a14dd4a9e753de9892dc5dd6c9
parent  0761583b33a1c9e6011a9eab4be4bf8ee6684a5e
openresty / demo / Blog
name age message
..
file Makefile Fri Sep 26 21:08:00 -0700 2008 demo/Blog - now we use action for comment posti... [agentz]
file README Fri Sep 26 19:57:05 -0700 2008 demo/Blog & demo/BlogAdmin - mentioned the Temp... [agentz]
file TODO Mon Apr 21 01:35:11 -0700 2008 r8624@agentz-office: agentz | 2008-04-21 16:0... [agentz]
directory css/ Mon Jul 28 20:27:16 -0700 2008 r10677@agentz-office: agentz | 2008-07-29 11:... [agentz]
directory doc/ Sun Apr 27 21:21:08 -0700 2008 r8796@agentz-office: agentz | 2008-04-25 23:5... [agentz]
directory image/ Wed Feb 20 02:23:09 -0800 2008 r7551@agentz-office (orig r1804): agentzh | 2... [agentz]
directory js/ Mon May 11 01:27:58 -0700 2009 minor tweaks of the blog demos [agentzh]
directory script/ Mon May 11 01:27:58 -0700 2009 minor tweaks of the blog demos [agentzh]
directory template/ Fri May 01 04:26:52 -0700 2009 now we honor the FastCGI protocol and send the ... [agentzh]
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 :)