Skip to content

Quick Start

Get ArchForge running locally in under 5 minutes.

Prerequisites

ToolVersionCheck Command
Java25+ (Azul Zulu recommended)java -version
Node.js20+node -v
pnpm9+pnpm -v
Gitanygit --version
Dockerrequireddocker -v

TIP

Make sure JAVA_HOME points to a JDK 25 installation. Docker is required for Testcontainers (PostgreSQL, Redis, RustFS auto-start in dev mode). You can verify with:

bash
echo $JAVA_HOME
java -version

Option 1: Manual Setup

1. Clone the sibling repositories

Clone them side by side. There are five repos: ArchForge, ArchForgeAdmin, ArchForgeWeb, ArchForgeDocs, ArchForgeSpec.

bash
# Backend
git clone https://github.com/sofn/ArchForge.git

# Admin UI
git clone https://github.com/sofn/ArchForgeAdmin.git

Or from the backend root after clone:

bash
cd ArchForge
./archforge init --write
./archforge up

2. Start the Backend

bash
cd ArchForge
./gradlew :archforge-server-admin:bootRun
# optional C-end API:
# ./gradlew :archforge-server-web:bootRun

The dev profile activates automatically, using:

  • Testcontainers PostgreSQL — auto-started via Docker (no manual DB setup needed)
  • Testcontainers Redis — auto-started via Docker (no Redis installation needed)
  • Testcontainers RustFS — S3-compatible file storage auto-started via Docker
  • Hibernate DDL auto for schema creation
  • Pre-loaded seed data (admin user, roles, menus, etc.)

Wait for the startup log:

Released under the MIT License.