updated readme
This commit is contained in:
@@ -42,13 +42,25 @@ Dynagate is a lightweight, high-performance LLM gateway written in Go that acts
|
|||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
### 1. Clone and build
|
### 1. Installation
|
||||||
|
|
||||||
|
**Using `go install`**:
|
||||||
|
To install the latest version directly:
|
||||||
|
```bash
|
||||||
|
go install codeberg.org/luxferre/dynagate@latest
|
||||||
|
```
|
||||||
|
Or from within a cloned repository directory:
|
||||||
|
```bash
|
||||||
|
go install .
|
||||||
|
```
|
||||||
|
|
||||||
|
**Building from source manually**:
|
||||||
```bash
|
```bash
|
||||||
git clone https://codeberg.org/luxferre/dynagate.git
|
git clone https://codeberg.org/luxferre/dynagate.git
|
||||||
cd dynagate
|
cd dynagate
|
||||||
make build
|
make build
|
||||||
```
|
```
|
||||||
This produces a static binary `dynagate` (~6.5MB) in the root directory.
|
This produces a size-optimized, stripped static binary `dynagate` (~6.5MB) in the root directory.
|
||||||
|
|
||||||
### 2. Configure models
|
### 2. Configure models
|
||||||
Create a `models.csv` file in the same directory. The file supports both header and header-less formats.
|
Create a `models.csv` file in the same directory. The file supports both header and header-less formats.
|
||||||
|
|||||||
Reference in New Issue
Block a user