mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 14:23:07 +00:00
add web
This commit is contained in:
16
web/README.md
Normal file
16
web/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# How to run?
|
||||
1. 直接启动
|
||||
- 修改 `public/config.js` 里的地址
|
||||
- 运行 `npm run dev`
|
||||
|
||||
2. 启动docker
|
||||
```bash
|
||||
docker run -d --name=web-server -p 80:80 -e BACKEND_URL=114514 -e LSP_SERVER_URL=1919810 hxzzz/meow-paste:latest
|
||||
```
|
||||
|
||||
3. 语言服务器
|
||||
```bash
|
||||
docker run -d --name=lsp-server -p 3003:3003 hxzzz/cpplsp:latest
|
||||
```
|
||||
cpp 语言服务器
|
||||
`ws://127.0.0.1:3003/cpp`
|
||||
Reference in New Issue
Block a user