What you will build: A working local OpenDash CMS site stored in its own directory, verified with the built-in health endpoint and ready for content editing in TinyMCE and OpenDash Studio.
By default, opendash binds strictly to loopback (127.0.0.1:18766) and initializes SQLite WAL tables automatically on startup.
Step 1: Start an OpenDash Instance
Choose whether you are running a prebuilt release binary or building directly from the Rust and Vite workspace:
Create a fresh site root, set an explicit port if 18766 is busy, and start the server:
mkdir -p ./my-site
OPENDASH_SITE_ROOT=./my-site OPENDASH_PORT=18766 ./opendash serve
Because opendash-server embeds the compiled React Admin bundle at compile time, build cms/admin before running Cargo:
npm --prefix cms/admin ci && npm --prefix cms/admin run build
mkdir -p ./my-site
OPENDASH_SITE_ROOT=./my-site OPENDASH_PORT=18766 \
cargo run --manifest-path cms/Cargo.toml -p opendash-server --bin opendash
Check configuration resolution and confirm setup_required turns true on a fresh database:
OPENDASH_SITE_ROOT=./my-site ./opendash --check-config
curl -sf http://127.0.0.1:18766/api/health
Step 2: Complete First-Run Setup in /admin/
- Open
http://127.0.0.1:18766/admin/in your browser. - Create your initial Admin account when prompted by First-Run Setup.
- Notice that a brand-new site seeds with Vietnamese (
vi) as its default locale while English (en) and 32 locale presets can be added or set as default under Settings → Languages.
Step 3: Author in Classic TinyMCE or OpenDash Studio
Create a Page or Post under Content to choose between two authoring workflows:
- Classic RichText (TinyMCE): Draft headings, tables, lists, links, media, and code blocks, then click Save to update your draft without touching public traffic, or Publish to make it live.
- OpenDash Studio Mode 2: Switch any post, page, or eligible CPT into the 4-tier canvas (
Section → Row → Column → Element) using 40+ Core Blocks plus custom blocks supplied by your active theme. - OpenDash Studio Mode 1: Customize global Header/Footer parts, Site Identity, Theme Options, Menus, and Template Overrides directly from Appearance → Studio.
Step 4: Scaffold & Validate Themes or AI Context via CLI
The same opendash binary includes developer validation, live theme mounting, JSON Schema output, and AI grounding docs:
# Print concise AI-ready architecture & API reference
opendash docs --ai
# Inspect built-in JSON Schemas (theme | block | plugin | blueprint)
opendash schema theme
# Validate a theme directory or .zip before installing
opendash check theme ./my-theme
# Mount a local theme directory with live reload and error overlay
OPENDASH_SITE_ROOT=./my-site opendash serve --dev --dev-theme ./my-theme
Next Steps
- Learn how revisions, optimistic concurrency, and theme portability protect your content in Core Concepts.
- Harden your server with Self-Hosting on Linux, systemd & Nginx TLS.
- Connect an AI coding assistant over MCP in Built-in MCP & API.