add trigger to rebuild homebrew formula (#210)
This commit is contained in:
committed by
GitHub
parent
fd50932dbc
commit
bbaf172956
21
.github/workflows/trigger-homebrew-update.yml
vendored
Normal file
21
.github/workflows/trigger-homebrew-update.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Trigger Homebrew Tap Update
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
trigger-tap-update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Trigger tap repository update"
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
token: ${{ secrets.TAP_REPO_PAT }}
|
||||
repository: mostlygeek/homebrew-llama-swap
|
||||
event-type: new-release
|
||||
client-payload: |-
|
||||
{
|
||||
"release": {
|
||||
"tag_name": "${{ github.event.release.tag_name }}"
|
||||
}
|
||||
}
|
||||
14
README.md
14
README.md
@@ -122,6 +122,20 @@ $ docker run -it --rm --runtime nvidia -p 9292:8080 \
|
||||
|
||||
</details>
|
||||
|
||||
## Homebrew Install (macOS/Linux)
|
||||
|
||||
For macOS & Linux users, `llama-swap` can be installed via [Homebrew](https://brew.sh):
|
||||
|
||||
```shell
|
||||
# Set up tap and install formula
|
||||
brew tap mostlygeek/llama-swap
|
||||
brew install llama-swap
|
||||
# Run llama-swap
|
||||
llama-swap --config path/to/config.yaml --listen localhost:8080
|
||||
```
|
||||
|
||||
This will install the `llama-swap` binary and make it available in your path. See the [configuration documentation](https://github.com/mostlygeek/llama-swap/wiki/Configuration)
|
||||
|
||||
## Bare metal Install ([download](https://github.com/mostlygeek/llama-swap/releases))
|
||||
|
||||
Pre-built binaries are available for Linux, Mac, Windows and FreeBSD. These are automatically published and are likely a few hours ahead of the docker releases. The baremetal install works with any OpenAI compatible server, not just llama-server.
|
||||
|
||||
Reference in New Issue
Block a user