Add Development

This commit is contained in:
Meng Zhang 2023-03-27 13:07:41 +08:00
parent eacafd63a5
commit 5b6125d89e
2 changed files with 14 additions and 10 deletions

View File

@ -47,6 +47,17 @@ We also provides an interactive playground in admin panel [localhost:8501](http:
Tabby opens an FastAPI server at [localhost:5000](https://localhost:5000), which embeds an OpenAPI documentation of the HTTP API.
## Development
Go to `development` directory.
```
make dev
```
or
```
make triton-dev
```
## TODOs
* [ ] Fine-tuning models on private code repository.

View File

@ -1,14 +1,7 @@
UP_FLAGS := up --remove-orphans --remove-orphans
DEV_FLAGS := $(UP_FLAGS) --build
up:
docker-compose -f docker-compose.yml $(UP_FLAGS)
up-triton:
docker-compose -f docker-compose.yml -f docker-compose.triton.yml $(UP_FLAGS)
UP_FLAGS := up --remove-orphans --remove-orphans --build
dev:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml $(DEV_FLAGS)
docker-compose -f docker-compose.yml -f docker-compose.dev.yml $(UP_FLAGS)
dev-triton:
docker-compose -f docker-compose.yml -f docker-compose.triton.yml -f docker-compose.dev.yml $(DEV_FLAGS)
docker-compose -f docker-compose.yml -f docker-compose.triton.yml -f docker-compose.dev.yml $(UP_FLAGS)