From 695d50b993284b304f5203a39ffdaed9676cb708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Sat, 30 Jul 2022 22:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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 + +``` + + + +``` + +