diff --git a/README.md b/README.md index 8c8b208..fb71d21 100644 --- a/README.md +++ b/README.md @@ -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 + +``` + + + +``` + +