更新 'README.md'

This commit is contained in:
2022-07-30 22:05:18 +08:00
parent f073c4a8c9
commit 695d50b993

View File

@@ -1,2 +1,35 @@
# element-call-dev
## nodejs
```
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
安装 yarn
npm install -g http-proxy-to-socks
# 然后使用这个工具监听8002端口,支持http代理然后所有8002的http代理数据都将转换成socks的代理数据发送到1081上
hpts -s 127.0.0.1:1080 -p 8002
# 最后设置npm代理为8080
npm config set proxy http://127.0.0.1:8002
npm config set https-proxy http://127.0.0.1:8002
清除npm代理
npm config delete proxy
npm config delete https-proxy
```
## call
```
```