From 113c545cb5ccf8b1bfc3417813d41de33856f0a6 Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 1 Mar 2016 17:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8d69d81..8d94fd5 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ (基于 ASP.NET 的 iBlog 点击[这里](https://github.com/eshengsky/iBlog/)) ### 功能模块 +*** * **博客** 展示已发布的文章,支持本地文章和外部链接。 * **留言** @@ -13,6 +14,7 @@ 包含网站统计、博客管理(新的文章、分类管理、文章管理)、评论管理、留言管理、关于管理、缓存管理、异常管理、系统设置。 ### 技术构成 +*** * 服务端 [Node.js](https://nodejs.org/) * web框架 [Express 4](http://expressjs.com/) * 模板引擎 [Jade](http://jade-lang.com/) @@ -23,22 +25,25 @@ * 日志 [winston](https://github.com/winstonjs/winston/) ### 页面预览 +*** [http://eshengsky.github.io/iBlog2/](http://eshengsky.github.io/iBlog2/) ### 快速开始 -* **准备条件** +*** +#### 准备条件 安装最新版[Node.js](https://nodejs.org/en/download/)、[bower](http://bower.io/)、[MongoDB](https://www.mongodb.org/)、[Redis](https://github.com/MSOpenTech/redis/releases)。 (注:如果使用Windows平台,可以去[https://github.com/MSOpenTech/redis/releases](https://github.com/MSOpenTech/redis/releases)下载安装Redis) -* **安装依赖** -服务端依赖 +#### 安装依赖 +* 服务端依赖 ```Shell $ npm install ``` -客户端依赖 +* 客户端依赖 ```Shell $ bower install ``` -* **参数配置** + +#### 参数配置 根据实际情况修改 config.json 配置文件,DbPath 是MongoDB路径,RedisHost 是Redis所在ip,RedisPort 是Redis端口号。 ```JSON { @@ -56,12 +61,12 @@ $ bower install } ``` 在 "后台管理-系统设置" 页面中,支持以可视化方式配置其余参数。 -* **启动站点** +#### 启动站点 ```Shell $ node --harmony-proxies ./bin/www ``` 打开浏览器,访问[http://localhost:3000/](http://localhost:3000) -#### Enjoy it:smile +#### Enjoy it:smile: ### 许可协议