Skip to content

shushu2013/MYblog

Repository files navigation

多人博客系统

由来

这是我的个人项目,基于《Node.js开发指南》中的 weibo 项目,结合自己的需求,来 渐进式开发一个多人博客系统。

架构

Node
Express 4
Mongodb
Ejs
Bootstrap 3

安装运行

安装前,确保系统已安装了 gitmongodbnode(一般都集成了npm)
国内的用户可使用 cnpm 加速 npm 可参考:快速搭建 Node.js / io.js 开发环境以及加速 npm

在 Linux 下安装:

/*git 克隆项目*/
$ git clone git@github.com:shushu2013/weibo.git

/*npm 安装模块,(会根据项目目录下 package.json 文件中的配置,自动安装依赖的模块)*/
$ npm install

/*由于网速原因,国内用户可以使用 cnpm 来安装模块*/
$ cnpm install

安装完成后,在项目目录下,可使用以下两种方式运行

1、在命令行下,直接用 node 启动
    $ node app.js
    
2、使用 microblog.sh 脚本(仅在Linux环境下可用)
    启动程序运行 $ ./microblog.sh start
    结束程序运行 $ ./microblog.sh stop

版本及功能

当前版本:v2.0

基础版本:v1.0

功能:

用户登录、注册,发表微博、浏览所有微博 用户发表文章、浏览所有文章,拥有自己的主页展示所有文章、 个人简介页面

使用本地 Mongodb 数据库存储数据

LICENSE

Repos open sourced under the shushu GitHub account is licensed under Apache 2.0 by default.

About

基于Express4.0的多人博客系统

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors