
Quick Start
The CLI orchestrates every service in the ReactPress architecture. After a global install, init writes project config and dev starts the API, admin, and default visitor site together.
Prerequisites
- Node.js 18+ — required for the CLI
- Docker — recommended; default bundled MySQL runs in a container
- MySQL — optional; use your own instance instead of Docker
Install and run
npm i -g @fecommunity/reactpress@3
mkdir reactpress-theme-starter && cd reactpress-theme-starter
reactpress init
reactpress dev
When dev is ready, open the URLs printed in the terminal:
| Service | Typical URL |
|---|---|
| Public site | http://localhost:3001 |
| Admin | http://localhost:3001/admin |
| API health | http://localhost:3002/api/health |
Tips
- Run
reactpresswith no arguments for the interactive menu. - Run
reactpress doctororreactpress statusif something does not look right.
评论
填写昵称与邮箱即可评论,无需登录。