agentzh / openresty
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (5)
- Wiki (1)
- Graphs
-
Tree:
8463c31
demo/Blog2/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 Date::Manip WWW::OpenResty $ script/init.pl -u your_account -p your_password $ 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 & ../../bin/export-model.pl --user eeee --password $password --model Comment --server api.eeeeworks.org --out Comment.json ../../bin/export-model.pl --user eeee --password $password --model Post --server api.eeeeworks.org --out Post.json script/init.pl -u eeee -p $password -s api.eeeeworks.org ../../bin/import-model.pl --reset --no-id --user eeee --password $password --model Post --server api.eeeeworks.org Post.json ../../bin/import-model.pl --reset --no-id --user eeee --password $password --model Comment --server api.eeeeworks.org Comment.json

