add develop.md

This commit is contained in:
CaiHQ
2023-03-15 10:06:49 +08:00
parent 3ee7b5bfc7
commit 08da9c63f0
3 changed files with 33 additions and 5 deletions

15
DEVELOP.md Normal file
View File

@@ -0,0 +1,15 @@
# Development Guide
1. install http-server to enable debug at local.
```bash
npm install -g http-server
```
2. run `npm install` to build the project.
3. in `./` folder, use `http-server` to start server
4. open the following link to debug.
please note, the server address should be checked in the source code of `xxx.html`!
```
http://127.0.0.1:8080/test/ws.html
http://127.0.0.1:8080/test/http.html
```