whistle
安装
Node
$ node -v
v4.4.0whistle
# 安装tnpm
npm install @tencent/tnpm -g --registry=http://r.tnpm.oa.com --no-proxy
# 安装whistle
tnpm install -g whistle @tencent/whistle.txpac运行

Last updated
Was this helpful?
$ node -v
v4.4.0# 安装tnpm
npm install @tencent/tnpm -g --registry=http://r.tnpm.oa.com --no-proxy
# 安装whistle
tnpm install -g whistle @tencent/whistle.txpac
Last updated
Was this helpful?
Was this helpful?
$ w2 -V
1.15.10hebly723-MC1:matman-demo hebly723$ w2 start
[i] whistle@1.15.10 restarted
[i] 1. use your device to visit the following URL list, gets the IP of the URL you can access:
http://127.0.0.1:8899/
http://10.64.66.73:8899/
Note: If all the above URLs are unable to access, check the firewall settings
For help see https://github.com/avwo/whistle
[i] 2. configure your device to use whistle as its HTTP and HTTPS proxy on IP:8899
[i] 3. use Chrome to visit http://local.whistlejs.com/ to get startedw2 restart -p 8080