Create configuration.md

Fixes #91
docs-add-demo
Meng Zhang 2023-06-05 17:58:10 -07:00 committed by GitHub
parent e781f31466
commit 6a650eb5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
docs/configuration.md Normal file
View File

@ -0,0 +1,20 @@
# Configuration
Tabby maintains its runtime data in `~/.tabby`, with `~/.tabby/config.toml` serving as its configuration file.
You can modify the path to the data directory by setting the `TABBY_ROOT` variable. For example:
```
export TABBY_ROOT=/data/tabby
```
## Example `~/.tabby/config.toml`
```toml
[[repositories]]
git_url = "https://github.com/TabbyML/tabby.git"
```
### `[[repositories]]`
Git repositories integrated into Tabby for prompting/fine-tuning.