Skip to content

Commit

Permalink
Merge pull request red-hat-storage#8 from subhamkrai/add-testing-doc
Browse files Browse the repository at this point in the history
test: add testing steps to README
  • Loading branch information
openshift-merge-bot[bot] authored Dec 12, 2023
2 parents 8dad004 + 3ccfec2 commit 7e30544
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,32 @@ These are the arguments that apply to all commands:
```bash
odf --context=$(oc config current-context) [commands]
```

## Installation

### Build from source

#### Requirements

- Go >= 1.21
- ODF storage cluster should be installed.

### Build and Run

1. Clone the repository

```bash
git clone https://github.com/red-hat-storage/odf-cli.git
```

2. Change the directory and build the binary

```bash
cd odf-cli/ && make build
```

3. Use the binary present in the`/bin/` directory to run the commands

```bash
./bin/odf -h
```

0 comments on commit 7e30544

Please sign in to comment.