Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokiy authored Dec 16, 2016
1 parent 12a249e commit 207fc0a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ Electron打包的socket即时通讯应用

### 使用方法
**使用时本机需要安装nodejs,所有需要的依赖已经在package.json列出,只需要npm install安装**
#### 服务器端

#### 服务器端
*执行*

```sh
cd server
npm install 安装需要的依赖
npm start 启动服务器
```
#### 客户端
*执行*

```sh
cd client
Expand All @@ -19,13 +22,15 @@ npm start 启动应用(可以多开几个终端进行测试)
```

#### 应用打包

打包命令已经在client/package.json中加入
**运行**
*执行*

```sh
npm run build
```

命令仅仅只是打包和本机系统相同的应用安装包, 仅在Linux系统下测试过
更多打包命令详见[electron-packager](https://recordnotfound.com/electron-packager-electron-userland-69033)
更多打包命令详见[electron-packager](https://recordnotfound.com/electron-packager-electron-userland-69033)

**至此应用已经在桌面点击运行**

#### 应用加密(未完成)

0 comments on commit 207fc0a

Please sign in to comment.