Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
Update install/dev instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed May 26, 2020
1 parent d5e2b17 commit 1ce331b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@ Interact with [Online C14](https://www.online.net/en/c14) API from the command l

A command-line tool to manage your C14 storage easily

## Setup
## Install

⚠️ Ensure you have a go version >= 1.14

```shell
go get -u github.com/scaleway/c14-cli/cmd/c14
```
Grab your binary on the [releases](https://github.com/scaleway/c14-cli/releases) page.

## Usage

Expand Down Expand Up @@ -334,12 +330,12 @@ Feel free to contribute! 😃🍻

### Hack

1. [Install go](https://golang.org/doc/install)
1. [Install Go](https://golang.org/doc/install)
2. Ensure you have `$GOPATH` and `$PATH` well configured, something like:
- `export GOPATH=$HOME/go`
- `export PATH=$PATH:$GOPATH/bin`
3. Fetch the project: `go get -u github.com/scaleway/c14-cli/cmd/c14`
4. Go to c14-cli directory: `cd $GOPATH/src/github.com/scaleway/c14-cli`
3. Fetch the project: `git clone https://github.com/scaleway/c14-cli.git`
4. Go to c14-cli directory: `cd c14-cli`
5. Hack: `vim`
6. Build: `make`
7. Run: `./c14`
Expand Down

0 comments on commit 1ce331b

Please sign in to comment.