Skip to content

Commit 4007716

Browse files
committed
docs(README) add install option from GitHub
1 parent d2b7d68 commit 4007716

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ can install the plugin directly from the [Cloud Foundry Community](https://plugi
3434
cf install-plugin -r CF-Community "html5-plugin"
3535
```
3636

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+
3754
Otherwise, you can build from source code:
3855
- [Clone or download](https://help.github.com/articles/cloning-a-repository/) the current repository to `/src` folder of your default `GOPATH`:
3956
* On Unix-like systems: `$HOME/go/src`
@@ -229,7 +246,8 @@ OPTIONS:
229246

230247
The configuration of the CF HTML5 Applications Repository CLI Plugin is done by using environment variables.
231248
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.
233251
* `HTML5_CACHE=1` - enables persisted cache. Disabled by default. Should be enabled only for sequential
234252
execution of the CF HTML5 Applications Repository CLI Plugin commands in the same context
235253
(org/space/user) during short period of time (less than 12 hours)
@@ -239,18 +257,6 @@ The following are supported:
239257

240258
## Troubleshooting
241259

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-
254260
#### Services and Service Keys
255261

256262
In order to work with HTML5 Application Repository API, the CF HTML5 Applications

0 commit comments

Comments
 (0)