pull/192/head
xiaojunnuo 2021-08-19 10:32:15 +08:00
parent 8206059f02
commit 9efec0ee76
2 changed files with 18 additions and 13 deletions

View File

@ -285,20 +285,9 @@ Error: www.github.com:443, 代理请求超时
当git push的数据大于200k时会报错目前的方案不太好解决。
临时方案切到安全模式尝试git push多试几次就可以了。
### 8、 Java程序使用
需要先通过keytool安装证书
`keytool -import -alias dev-sidecar -keystore "jdk路径\security\cacerts" -file 用户目录\.dev-sidecar\dev-sidecar.ca.crt`默认密码为`changeit`
启动时还需要设置参数
`-Dhttp.proxyHost=localhost -Dhttp.proxyPort=1181 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=1181`
Gradle还需在`用户目录/.gradle/gradle.properties`创建配置文件
```properties
systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=1181
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=1181
```
## 在其他程序使用
* [java程序使用](./other.md#Java程序使用)
## 贡献代码

16
other.md Normal file
View File

@ -0,0 +1,16 @@
# 其他程序使用
## Java程序使用
> 由[Enaium](https://github.com/Enaium) 提供,未做验证,可供参考
>
需要先通过keytool安装证书
`keytool -import -alias dev-sidecar -keystore "jdk路径\security\cacerts" -file 用户目录\.dev-sidecar\dev-sidecar.ca.crt`默认密码为`changeit`
启动时还需要设置参数
`-Dhttp.proxyHost=localhost -Dhttp.proxyPort=1181 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=1181`
Gradle还需在`用户目录/.gradle/gradle.properties`创建配置文件
```properties
systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=1181
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=1181
```