Quick Start
🚀 Quick Start
Section titled “🚀 Quick Start”Welcome to Hatchgrid! This guide will help you set up the platform locally and publish your first piece of content in just a few steps.
1. 📦 Prerequisites
Section titled “1. 📦 Prerequisites”Before getting started, make sure you have the following installed:
- Node.js (v22+)
- Java 21 (for backend)
- Docker + Docker Compose
- PostgreSQL client (optional but helpful)
- pnpm (recommended for frontend)
2. 🛠️ Clone and Setup
Section titled “2. 🛠️ Clone and Setup”git clone https://github.com/dallay/hatchgrid.gitcd hatchgrid
Install dependencies:
# Frontendpnpm install
# Backend./gradlew build
3. ⚙️ Environment Setup
Section titled “3. ⚙️ Environment Setup”Copy and edit the example environment files:
cp .env.example .envcp client/.env.example client/.envcp server/.env.example server/.env
Adjust values such as database credentials, Keycloak settings, and ports.
4. 🐳 Start the Stack
Section titled “4. 🐳 Start the Stack”Run the platform using Docker Compose:
docker compose up --build
This will start:
- PostgreSQL
- Keycloak
- Hatchgrid backend
- Hatchgrid frontend
5. 👤 Access the App
Section titled “5. 👤 Access the App”Visit the frontend at:
docs -> http://localhost:4321landing -> http://localhost:4322web -> http://localhost:9876
The default Keycloak admin panel (for setting up users) is at:
http://localhost:9080
Default credentials (change them!):
- Username:
admin
- Password:
secret
Backend API is available at:
http://localhost:8080/api
6. ✍️ Create and Publish Content
Section titled “6. ✍️ Create and Publish Content”- Login with your test user.
- Create a new workspace.
- Write a post.
- Choose publishing options (channels, summary, language).
- Publish or schedule it.
You’ve just published your first piece with Hatchgrid!
🧪 Troubleshooting
Section titled “🧪 Troubleshooting”- Run
pnpm run check
,pnpm run test
, andpnpm run build
inclient
to validate frontend. - Run
./gradlew test
and./gradlew detektAll
inserver
to check backend. - Use logs from
docker compose logs -f
to identify issues.
✅ Next Steps
Section titled “✅ Next Steps”- Explore Core Concepts
- Learn about Workspace management
- Customize Publishing Workflows