mirror of
https://github.com/alwxkxk/soft-and-hard.git
synced 2025-01-14 06:12:52 +08:00
feat: demo0.1 index.js 更名为 server.js ,避免歧义。
This commit is contained in:
parent
1bbe04600e
commit
70469ee29f
@ -1,7 +1,7 @@
|
|||||||
# demo0.1
|
# demo0.1
|
||||||
```bash
|
```bash
|
||||||
#启动
|
#启动
|
||||||
node index
|
node server.js
|
||||||
|
|
||||||
#浏览器访问 127.0.0.1:8000
|
#浏览器访问 127.0.0.1:8000
|
||||||
#tcp客户端连接 127.0.0.1:9000
|
#tcp客户端连接 127.0.0.1:9000
|
||||||
|
2
pm2.json
2
pm2.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"apps":[
|
"apps":[
|
||||||
{"name":"base-tcp1","script":"./基础教程/tcp1/tcp1.js"},
|
{"name":"base-tcp1","script":"./基础教程/tcp1/tcp1.js"},
|
||||||
{"name":"demo0.1","script":"./index.js","cwd":"./demo0.1"},
|
{"name":"demo0.1","script":"./server.js","cwd":"./demo0.1"},
|
||||||
{"name":"demo1","script":"./demo1/myapp/bin/www"},
|
{"name":"demo1","script":"./demo1/myapp/bin/www"},
|
||||||
{"name":"demo2","script":"./demo2/myapp/bin/www"}
|
{"name":"demo2","script":"./demo2/myapp/bin/www"}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user