fix url
This commit is contained in:
parent
afb53b087b
commit
df11f9b432
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -9,43 +9,43 @@
|
||||||
# curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
# curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||||
|
|
||||||
# Install pre-built executable
|
# Install pre-built executable
|
||||||
cargo binstall --locked --git https://firefish.dev/firefish-cli.git
|
cargo binstall --locked --git https://firefish.dev/firefish/firefish-cli.git
|
||||||
```
|
```
|
||||||
|
|
||||||
You can update the package using the same command.
|
You can update the package using the same command.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo binstall --locked --git https://firefish.dev/firefish-cli.git
|
cargo binstall --locked --git https://firefish.dev/firefish/firefish-cli.git
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install from source
|
### Install from source
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Build from source
|
# Build from source
|
||||||
cargo install --locked --git https://firefish.dev/firefish-cli.git
|
cargo install --locked --git https://firefish.dev/firefish/firefish-cli.git
|
||||||
```
|
```
|
||||||
|
|
||||||
You can update the package using the same command.
|
You can update the package using the same command.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo install --locked --git https://firefish.dev/firefish-cli.git
|
cargo install --locked --git https://firefish.dev/firefish/firefish-cli.git
|
||||||
```
|
```
|
||||||
|
|
||||||
### Use pre-built OCI image
|
### Use pre-built OCI image
|
||||||
|
|
||||||
You can also use `registry.firefish.dev/firefish-cli` container image.
|
You can also use `registry.firefish.dev/firefish/firefish-cli` container image.
|
||||||
|
|
||||||
Please replace `fishctl ___` commands with
|
Please replace `fishctl ___` commands with
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it --rm --volume "$(pwd)":/firefish \
|
docker run -it --rm --volume "$(pwd)":/firefish \
|
||||||
registry.firefish.dev/firefish-cli \
|
registry.firefish.dev/firefish/firefish-cli \
|
||||||
fishctl ___
|
fishctl ___
|
||||||
|
|
||||||
# or
|
# or
|
||||||
|
|
||||||
podman run -it --rm --volume "$(pwd)":/firefish \
|
podman run -it --rm --volume "$(pwd)":/firefish \
|
||||||
registry.firefish.dev/firefish-cli \
|
registry.firefish.dev/firefish/firefish-cli \
|
||||||
fishctl ___
|
fishctl ___
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -55,13 +55,13 @@ If you are using a container network (which is typically the case if you using `
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it --rm --network network_name --volume "$(pwd)":/firefish \
|
docker run -it --rm --network network_name --volume "$(pwd)":/firefish \
|
||||||
registry.firefish.dev/firefish-cli \
|
registry.firefish.dev/firefish/firefish-cli \
|
||||||
fishctl ___
|
fishctl ___
|
||||||
|
|
||||||
# or
|
# or
|
||||||
|
|
||||||
podman run -it --rm --network network_name --volume "$(pwd)":/firefish \
|
podman run -it --rm --network network_name --volume "$(pwd)":/firefish \
|
||||||
registry.firefish.dev/firefish-cli \
|
registry.firefish.dev/firefish/firefish-cli \
|
||||||
fishctl ___
|
fishctl ___
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue