правки начальные
This commit is contained in:
1 parent
85b5c0708b
commit
a287275564
1 file changed
+6
-24
@@ -1,10 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
### 📦 Local Installation
|
### 📦 Local Installation
|
||||||
|
|
||||||
1. **Install FlexLLama:**
|
1. **Install Open terminal:**
|
||||||
|
|
||||||
*From GitHub:*
|
*From GitHub:*
|
||||||
|
|
||||||
@@ -15,32 +14,15 @@
|
|||||||
*From local source (after cloning):*
|
*From local source (after cloning):*
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/yazon/flexllama.git
|
python3 -m venv open_terminal_venv
|
||||||
python3 -m venv flexllama_venv
|
|
||||||
source ./flexllama_venv/bin/activate
|
|
||||||
cd flexllama
|
|
||||||
python3 -m pip install --upgrade pip wheel setuptools
|
|
||||||
pip install .
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
source ./open_terminal_venv/bin/activate
|
source ./open_terminal_venv/bin/activate
|
||||||
|
cd open_terminal_venv
|
||||||
|
python3 -m pip install open-terminal
|
||||||
|
|
||||||
|
|
||||||
(open_terminal_venv) moucceu@openterminal:~$ open-terminal run --host 0.0.0.0 --port 8000 --api-key 1234567890 --cwd /home/moucceu
|
(open_terminal_venv) moucceu@openterminal:~$ open-terminal run --host 0.0.0.0 --port 8000 --api-key 1234567890 --cwd /home/moucceu
|
||||||
```
|
```
|
||||||
|
|
||||||
1. **Create your configuration:**
|
|
||||||
Copy the example configuration file to create your own. If you installed from a local clone, you can run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cp backend/config_my.json config.json
|
|
||||||
```
|
|
||||||
|
|
||||||
If you installed from git, you may need to download it from the repository.
|
|
||||||
|
|
||||||
1. **Edit `config.json`:**
|
|
||||||
Update `config.json` with the correct paths for your `llama-server` binary and your model files (`.gguf`).
|
|
||||||
|
|
||||||
|
|
||||||
#### Создадим сервис
|
#### Создадим сервис
|
||||||
|
|||||||
Reference in new issue
Block a user