更新 'README.md'
This commit is contained in:
33
README.md
33
README.md
@@ -1,2 +1,35 @@
|
|||||||
# element-call-dev
|
# 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
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user