@@ -34,6 +34,23 @@ can install the plugin directly from the [Cloud Foundry Community](https://plugi
34
34
cf install-plugin -r CF-Community " html5-plugin"
35
35
```
36
36
37
+ Alternatively, you can install latest release from GitHub Releases with one of the following commands, depending on you operational system:
38
+
39
+ #### macOS
40
+ ``` bash
41
+ cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-darwin-amd64
42
+ ```
43
+
44
+ #### Linux
45
+ ``` bash
46
+ cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-linux-amd64
47
+ ```
48
+
49
+ #### Windows
50
+ ``` bash
51
+ cf install-plugin -f https://github.com/SAP/cf-html5-apps-repo-cli-plugin/releases/latest/download/cf-html5-apps-repo-cli-plugin-windows-amd64.exe
52
+ ```
53
+
37
54
Otherwise, you can build from source code:
38
55
- [ Clone or download] ( https://help.github.com/articles/cloning-a-repository/ ) the current repository to ` /src ` folder of your default ` GOPATH ` :
39
56
* On Unix-like systems: ` $HOME/go/src `
@@ -229,7 +246,8 @@ OPTIONS:
229
246
230
247
The configuration of the CF HTML5 Applications Repository CLI Plugin is done by using environment variables.
231
248
The following are supported:
232
- * ` DEBUG=1 ` - enables trace logs with detailed information about currently running steps
249
+ * ` DEBUG=1 ` - enables trace logs with detailed information about currently running steps. If you want to
250
+ see also the sensitive information in the trace logs (e.g. access tokens), use ` DEBUG=2 ` instead.
233
251
* ` HTML5_CACHE=1 ` - enables persisted cache. Disabled by default. Should be enabled only for sequential
234
252
execution of the CF HTML5 Applications Repository CLI Plugin commands in the same context
235
253
(org/space/user) during short period of time (less than 12 hours)
@@ -239,18 +257,6 @@ The following are supported:
239
257
240
258
## Troubleshooting
241
259
242
- #### Can't Resolve Dependencies
243
-
244
- If ` go build ` fails to resolve dependencies and you see error messages similar to
245
- ```
246
- go build
247
- commands\html5_push_command.go:4:2: cannot find package "archive/zip" in any of:
248
- C:\Users\<my_user>\go\src\cf-html5-apps-repo-cli-plugin\vendor\archive\zip (vendor tree)
249
- C:\Users\<my_user>\go\src\archive\zip (from $GOROOT)
250
- ($GOPATH not set. For more details see: 'go help gopath')
251
- ```
252
- you need to set ` GO111MODULE=off ` before running the ` go build ` .
253
-
254
260
#### Services and Service Keys
255
261
256
262
In order to work with HTML5 Application Repository API, the CF HTML5 Applications
0 commit comments