mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix some execution issues
This commit is contained in:
parent
2d638f0540
commit
5b247b9fe3
6
Makefile
6
Makefile
@ -18,8 +18,9 @@ build:
|
||||
@echo "Installing Python dependencies..."
|
||||
@curl -sSL https://install.python-poetry.org | python3 -
|
||||
@poetry install
|
||||
@poetry shell
|
||||
@pre-commit install --config $(PRECOMMIT_CONFIG_PATH)
|
||||
@echo "Activating Poetry shell..."
|
||||
@echo "Installing pre-commit hooks..."
|
||||
@poetry run pre-commit install --config $(PRECOMMIT_CONFIG_PATH)
|
||||
@echo "Setting up frontend environment..."
|
||||
@echo "Detect Node.js version..."
|
||||
@cd frontend && node ./scripts/detect-node-version.js
|
||||
@ -33,7 +34,6 @@ build:
|
||||
# Start backend
|
||||
start-backend:
|
||||
@echo "Starting backend..."
|
||||
@poetry shell
|
||||
@poetry run uvicorn opendevin.server.listen:app --port $(BACKEND_PORT)
|
||||
|
||||
# Start frontend
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user