Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4faa6b212e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
controllers
libs
models
public
routes
views
README.md
app.js
config.default.js
package.json

README.md

Node Club

介绍

Node Club 是用 Node.jsMongoDb 开发的新型社区软件,界面优雅,功能丰富,已在Node.js 中文技术社区 CNode 得到应用,但你完全可以用它搭建自己的社区。

安装部署
// install node npm mongodb  
// run mongod
cd Node-Club
nmp install ./
cp config.default.js config.js
// modify the config file as yours
node app.js
其它

小量修改了两个依赖模块:node-markdown,express

1.node-markdown/lib/markdown.js allowedTags 添加 embed 标签以支持 flash 视频,allowedAttributes 添加 embed:'src|quality|width|height|align|allowScriptAccess|allowFullScreen|mode|type' 2.express/node_modules/connect/lib/middleware/csrf.js 添加 if (req.xhr === true) return next();if (req.body.user_action && req.body.user_action == 'upload_image') return next();

Something went wrong with that request. Please try again.