Create Your First Site in 5 Minutes
This tutorial is for first-time ReactPress end users. No repository clone or Docker setup required.
Step 1: Install the CLI
npm install -g @fecommunity/reactpress@beta
Step 2: Initialize the site
In any empty directory:
mkdir my-blog && cd my-blog
reactpress init
init automatically:
- Generates
.reactpress/config.jsonand.env - Initializes the SQLite database
- Starts API, Admin, and the default theme
- Prints access URLs in the terminal
On success you should see output similar to:
| Service | URL |
|---|---|
| Visitor site | http://localhost:3001 |
| Admin | http://localhost:3001/admin/ |
| API | http://localhost:3002/api |
| Health check | http://localhost:3002/api/health |
Step 3: Log in to Admin
- Open http://localhost:3001/admin/ in your browser
- Log in with the default account:
admin/admin - Change your password immediately after first login (Settings → Account)
Security
Never use the default password in production. Before deployment, update ADMIN_USER / ADMIN_PASSWD or change the account in Admin.
Step 4: Install and enable a theme
If the visitor site at :3001 shows no content yet, in Admin:
- Go to Appearance → Themes
- Install reactpress-theme-starter from the catalog (or the hello-world starter theme)
- Click Enable
After enabling, refresh http://localhost:3001 to see the visitor site.
Step 5: Publish your first post
- In Admin, Posts → New
- Enter a title and Markdown body
- Choose category / tags (optional)
- Click Publish in the top right
- View the result at http://localhost:3001
Step-by-step with screenshots: Create your first blog post.
Step 6: Verify the API (optional)
curl http://localhost:3002/api/health
A response of {"status":"ok"} means the API is healthy. For Headless integration, see Headless API guide.
Having trouble?
reactpress doctor # environment and service diagnostics
reactpress logs --follow # live API logs
reactpress stop # stop services, then re-run init
More troubleshooting: Troubleshooting.
What to learn next
| You are… | Recommended reading |
|---|---|
| Content creator | User guide: Content management |
| Site administrator | Site settings & SEO |
| Frontend developer | Theme development |
| Full-stack / integration | Headless API |
| Ready to go live | Production deployment |