diff --git a/README.md b/README.md index 128b4a4..3065887 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/development/Makefile b/development/Makefile index 5837a0b..bd3bd93 100644 --- a/development/Makefile +++ b/development/Makefile @@ -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)