a micro bbs system based on duoshuo.com apis (Candy 中文说明文档)
$ npm install candy
I've prepare a script for you:
$ git clone https://github.com/turingou/candy.git
$ cd candy
$ npm install // install dependencies
$ vi server.js // edit configs
$ node server.js
or by NPM
$ npm install candy
$ cd node_modules/candy
$ vi server.js // edit configs
$ node server.js
var Candy = require('candy');
var myCandy = new Candy.server({
name: 'My candy BBS', // site name
url: 'http://abc.com', // site URL
desc: 'some desc', // site description
database: {
name: 'mycandyDB' // database name
},
duoshuo: {
short_name: 'xxx', // your duoshuo.com [short_name]
secret: 'xxx' // your duoshuo.com [secret]
}
});
myCandy.run(9999);
then save it to candy.js
.
$ node candy.js // or forever start candy.js
-
- find
/public
folder and changelogo.png
to yours
- find
-
- visit
/admin
panel to edit configs (site name , desc , etc.)
- add boards or edit defalut borard desc.
- write a thread and try to post it
- explore and enjoy ~
- visit
- mobile first
- easy to install and config
- comments on the cloud
- follow tags/boards supported
- sexy and friendly user-interface
- Candy 官方社区
- Teslaer: tesla电动车**爱好者社区 (now building...)
- fork this repo
- feel free to add your feature
- make sure your feature are fully tested!
- send me a PR, and enjoy !