Skip to main content

Local Development

ReactPress 4.0 offers three local paths — choose by scenario.

ScenarioApproachPrerequisites
Build / try a site (recommended)Global reactpress initNode ≥ 20
Offline writingDesktop clientSee Desktop client
Contribute to monorepopnpm devNode ≥ 20, pnpm
npm i -g @fecommunity/reactpress
mkdir my-blog && cd my-blog
reactpress init

init generates config, initializes SQLite, and auto-starts the full stack.

ServicePortURL
Admin3001 /admin/http://localhost:3001/admin/
Visitor theme3001http://localhost:3001
API3002http://localhost:3002/api/health
Theme preview3003http://localhost:3003

Common commands

reactpress doctor # environment diagnostics
reactpress logs -f # live logs
reactpress stop # stop services

Manage themes and plugins in Admin. Full CLI reference: CLI command reference.

Option 2: Desktop client

No Docker — great for local writing:

# monorepo root, or download Release installer
pnpm dev:desktop

See Desktop client.

Option 3: Monorepo development

git clone --depth=1 https://github.com/fecommunity/reactpress.git
cd reactpress
npm i -g pnpm && pnpm install
pnpm run build:plugins
pnpm dev

Full guide: Monorepo local development.

Configuration

init / pnpm dev generate .reactpress/config.json and .env by default. Advanced scenarios: Configuration.