Build & run
Prerequisites
Use JDK 21 and Node.js 22+ (24 recommended for the website). The Maven Wrapper downloads Maven 3.9.16 automatically. The first build requires internet access.
Set JAVA_HOME to your JDK 21 installation and make sure java -version and ./mvnw -version report the intended Java version.
Build all modules
git clone https://github.com/jianghr-rr/OryxOS.git
cd OryxOS
./mvnw clean packageOn Windows, use mvnw.cmd clean package. This builds all nine modules and runs the application startup test.
Run the CLI
java -jar oryxos-cli/target/oryxos-cli-1.0.0-SNAPSHOT.jarExpected output:
OryxOS 1.0.0-SNAPSHOTThe CLI prints the Maven project version and exits. Commands such as chat, init, and serve are not implemented yet.
Start the application skeleton
java -jar oryxos-boot/target/oryxos-boot-1.0.0-SNAPSHOT.jarThe HTTP server starts on port 8080. Use --server.port=8081 to change it. Press Ctrl-C to stop.
No model key or database configuration is required. Business APIs and the management UI are not present: requests to /, /api/v1, and /admin/ return 404 as expected.
Run this website locally
From the repository root:
npm ci
npm run docs:devOpen the printed URL under /OryxOS/; the Chinese homepage is /OryxOS/zh/.
npm run docs:build
npm run docs:previewStatic output is written to website/.vitepress/dist/.