clivelee / nodeblog

A blog base on nodejs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A blog base on nodejs.

Features

  • Write, Read, List, Search blog.
  • Comments
  • Support image and file upload.
  • DIY template
  • Support nodester.com, no.de... nodejs host services
  • Simple to install
  • Support post to twitter, facebook, weibo, tqq and so on.
  • Speed
  • Support MetaWeblog API Sync
  • Support 42qu.com

Requirements

Ubuntu

$ sudo apt-get install libxml2 libxml2-dev scons mongodb

CentOS

$ sudo yum install libxml2 libxml2-devel 

# install scons
$ wget http://prdownloads.sourceforge.net/scons/scons-2.1.0.alpha.20101125.tar.gz
$ cd scons-2.1.0.alpha.20101125
$ sudo python setup.py install

# install mongodb
# see: http://www.mongodb.org/display/DOCS/CentOS+and+Fedora+Packages

install libxmljs on no.de: http://discuss.joyent.com/viewtopic.php?pid=225354#p225354

Next: tell scons to import your external environment. This allows it to use your path.
Change line 56 from:
Code:
env = Environment(BUILDERS = {'Test' : testBuilder})

to:
Code:
env = Environment(ENV = os.environ, BUILDERS = {'Test' : testBuilder})

Node Modules Install

$ sudo npm install express express-resource tenjin weibo metaweblog mongoose github-flavored-markdown

Install NodeBlog

$ git clone git://github.com/fengmk2/nodeblog.git
$ cd nodeblog
$ cp config.js.tpl config.js
$ node server.js

DIY template

Snapshot

About

A blog base on nodejs.