Skip to content

Commit

Permalink
Merge pull request #40 from bjwswang/main
Browse files Browse the repository at this point in the history
chore: add install&server commands at Makefile
  • Loading branch information
bjwswang authored Mar 12, 2024
2 parents dbf9113 + 4052c3b commit 7ef0052
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
# Default RERANKING Model is BAAI/bge-reranker-large from huggingface
export RERANKING_MODEL_PATH ?= BAAI/bge-reranker-large

.PHONY: lint
lint:
@python -m pip install --upgrade pip
@python -m pip install -e './libs/core/.[dev]'
@pylint -d all -e E0602 ./libs/
@black .
@black .

.PHONY: install
install:
@pip install -e libs/core/
@pip install -e libs/cli/

.PHONY: server
server: install
@kubeagi-cli serve



0 comments on commit 7ef0052

Please sign in to comment.