Skip to content

Commit

Permalink
Merge pull request #49 from noborus/update-installation
Browse files Browse the repository at this point in the history
Add and update install direction
  • Loading branch information
noborus authored Feb 29, 2024
2 parents 88cfa37 + d47ab78 commit 7efcf3c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ nfpms:
brews:
-
name: ovcs
tap:
repository:
owner: noborus
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
Expand Down
57 changes: 42 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,37 @@ The client server for the terminal pager.

## install

### go install

```console
go install github.com/noborus/ovcs@latest
```

### Homebrew

```console
brew install noborus/tap/ovcs
```

### Arch Linux

[https://aur.archlinux.org/packages/ovcs-git](https://aur.archlinux.org/packages/ovcs-git)

### deb

You can download the package from [releases](https:/noborus/ovcs/releases).

```console
curl -L -O https:/noborus/ovcs/releases/download/vx.x.x/ovcs_x.x.x-1_amd64.deb
sudo apt install ./ovcs_x.x.x_amd64.deb
```

### rpm

You can download the package from [releases](https:/noborus/ovcs/releases).

```console
go get -u github.com/noborus/ovcs
sudo rpm -ivh https://github.com/noborus/ovcs/releases/download/vx.x.x/ovcs_x.x.x-1_amd64.rpm
```

## Usage
Expand All @@ -20,6 +49,18 @@ go get -u github.com/noborus/ovcs
2. Pass the standard input to the client.
3. It will be displayed on the server side.

### server

```console
ovcs server
```

### client

```console
ls| ovcs client
```

### psql

Run this shell script.
Expand All @@ -33,7 +74,6 @@ sh psql.sh [psql option]

![ovcs-psql.gif](https://raw.githubusercontent.com/noborus/ovcs/master/docs/ovcs-psql.gif)


### mysql

Run this shell script.
Expand All @@ -46,16 +86,3 @@ sh mysql.sh [mysql option]
```

![ovcs-mysql.gif](https://raw.githubusercontent.com/noborus/ovcs/master/docs/ovcs-mysql.gif)


### server

```console
ovcs server
```

### client

```console
ls| ovcs client
```

0 comments on commit 7efcf3c

Please sign in to comment.