π OpenHands: AI-Driven Development
build(makefile) Develop in OpenhandsCloud (#7440)
Carlos Freund27c18f5bdd83
diff --git a/Makefile b/Makefileindex 87f502c357..705606f9dc 100644--- a/Makefile+++ b/Makefile@@ -5,6 +5,7 @@ SHELL=/usr/bin/env bashBACKEND_HOST ?= "127.0.0.1"BACKEND_PORT = 3000BACKEND_HOST_PORT = "$(BACKEND_HOST):$(BACKEND_PORT)"+FRONTEND_HOST ?= "127.0.0.1"FRONTEND_PORT = 3001DEFAULT_WORKSPACE_DIR = "./workspace"DEFAULT_MODEL = "gpt-4o"@@ -288,6 +289,15 @@ setup-config-prompts:@read -p "Enter your LLM base URL [mostly used for local LLMs, leave blank if not needed - example: http://localhost:5001/v1/]: " llm_base_url; \if [[ ! -z "$$llm_base_url" ]]; then echo "base_url=\"$$llm_base_url\"" >> $(CONFIG_FILE).tmp; fi+setup-config-basic:+ @printf '%s\n' \+ '[core]' \+ 'workspace_base="./workspace"' \+ > config.toml+ @echo "$(GREEN)config.toml created.$(RESET)"++openhands-cloud-run:+ @$(MAKE) run BACKEND_HOST="0.0.0.0" BACKEND_PORT="12000" FRONTEND_HOST="0.0.0.0" FRONTEND_PORT="12001"# Develop in containerdocker-dev:@@ -322,5 +332,4 @@ help:@echo " $(GREEN)help$(RESET) - Display this help message, providing information on available targets."# Phony targets-.PHONY: build check-dependencies check-python check-npm check-docker check-poetry install-python-dependencies install-frontend-dependencies install-pre-commit-hooks lint start-backend start-frontend run run-wsl setup-config setup-config-prompts help-.PHONY: docker-dev docker-run+.PHONY: build check-dependencies check-system check-python check-npm check-nodejs check-docker check-poetry install-python-dependencies install-frontend-dependencies install-pre-commit-hooks lint-backend lint-frontend lint test-frontend test build-frontend start-backend start-frontend _run_setup run run-wsl setup-config setup-config-prompts setup-config-basic openhands-cloud-run docker-dev docker-run clean help