提交 4912bece 编写于 作者: 颯沓如流星's avatar 颯沓如流星 🎨

更新README.md

上级 ad169ff5
# BrowserQuest
fork from [BrowserQuest源地址GItHub](https://github.com/mozilla/BrowserQuest)
BrowserQuest前端资源
\ No newline at end of file
这里仅用java重写了后端,此项目的前端资源仅作部署说明
## 部署说明
### 1.修改配置文件
- ./config/config_build.json
- ./config/config_local.json
修改上述配置文件,指向服务器地址
### 2.部署静态文件
这里讲一下docker部署Nginx
将下载的客户端放置`~/docker/static/`
```bash
docker run -p 80:80 -d -v ~/docker/static/:/usr/share/nginx/html/ nginx
```
查看下端口占用情况
```bash
netstat -anp | grep 80
````
### 3.访问地址
浏览器输入nginx部署的服务器地址即可
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册