DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
OFBIZ-13403
-
Getting issue details...
STATUS
Agent-Centric OFBiz Setup Guide (Fully Automated)
This guide is designed for any preferred agentic AI of your choice (e.g. Antigravity/ etc.) to follow when instructed to set up Apache OFBiz on a user's machine. It assumes zero manual intervention from the user after the initial request.
User Instructions
To trigger the full setup, simply tell the agent:
"Perform a full local setup of Apache OFBiz, load the demo data, and open the Manufacturing app for me."
Agent Execution Workflow
Step 1: Environment Preparation
- Check for JDK 17+:
- Agent runs java -version.
- If missing, agent searches for the appropriate OpenJDK (e.g., Temurin 17) and provides the download link or attempts to install via a package manager if available.
- Workspace Setup:
- Agent identifies a suitable directory (e.g., E:\ofbiz or C:\ofbiz).
Step 2: Automated Download & Extraction
- Fetch OFBiz:
- Agent uses search_web to find the latest stable Apache OFBiz download URL.
- Agent uses run_command (e.g., Invoke-WebRequest or curl) to download the .zip file.
- Extract Content:
- Agent uses Expand-Archive to extract the ZIP to the target directory.
Step 3: Database Initialization (Load Demo Data)
- Run Gradle Load:
- Agent navigates to the directory and executes gradlew.bat loadAll.
- Monitor Progress:
- Agent tracks the output in the background using command_status.
- Agent waits for the "BUILD SUCCESSFUL" message.
Step 4: Server Startup
- Start OFBiz:
- Agent runs gradlew.bat ofbiz in the background.
- Health Check:
- Agent monitors runtime/logs/ofbiz.log for the phrase "OFBiz is started and ready".
- Agent verifies port 8443 is listening using netstat.
Step 5: Automated UI Navigation & Validation
- Browser Login:
- Agent uses the browser_subagent to navigate to https://localhost:8443/manufacturing.
- Agent handles SSL certificate bypass automatically.
- Agent logs in using admin/ofbiz
- Smoke Test:
- Agent navigates through core Manufacturing screens (BOM, Routing, MRP) to ensure data is loaded correctly.
- Agent takes screenshots/recordings as proof of successful setup.
Once setup is complete, the agent remains active to assist with further exploration, report generation, or custom configuration.