Skip to content

Commit

Permalink
更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
shen100 committed May 9, 2017
1 parent 1f10208 commit cf1d4b3
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
git clone https://github.com/shen100/wemall.git
```

如果安装失败,或速度慢,可尝试阿里的镜像

```
npm install --registry=https://registry.npm.taobao.org
```

2 **配置nginx**
`wemall/nginx/dev.wemall.com.conf`文件拷贝到nginx的虚拟主机目录下

Expand All @@ -43,21 +37,33 @@ npm install --registry=https://registry.npm.taobao.org
>注意: 本地开发模式下,数据库是`wemall`,用户是`root`,密码是`test1234`
>可以通过`wemall/configuration.json`配置文件进行修改
5 **安装模块**
5 **安装node.js第三方模块**
进入`wemall/nodejs`目录,运行命令

```
npm install
```

6 **启动静态文件服务器**

如果安装失败,或速度慢,可尝试阿里的镜像

```
npm install --registry=https://registry.npm.taobao.org
```

6 **启动node.js程序**
进入`wemall/nodejs`目录,运行命令

```
npm start
```

7 **运行go程序**
再开一个新的命令行窗口, 运行命令

```
npm run staticServ
```

8 **运行go程序**
进入`wemall`目录下,运行

```
Expand Down

0 comments on commit cf1d4b3

Please sign in to comment.