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 hatchgridInstall dependencies:
# Frontendpnpm install
# Backend./gradlew build3. ⚙️ Environment Setup
Section titled “3. ⚙️ Environment Setup”Copy and edit the example environment files:
cp .env.example .envAdjust 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 -d --build
This will start:- PostgreSQL- Keycloak
To run the backend and frontend, you will need to run them in separate terminals:
```bash# Run the backend./gradlew bootRun
# Run the frontendcd client/apps/webpnpm dev5. 👤 Access the App
Section titled “5. 👤 Access the App”Visit the frontend at:
docs -> http://localhost:4321landing -> http://localhost:7766web -> http://localhost:9876The default Keycloak admin panel (for setting up users) is at:
http://localhost:9080Default credentials (change them!):
- Username:
admin - Password:
secret
Backend API is available at:
http://localhost:8080/api6. ✍️ 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 buildinclientto validate frontend. - Run
./gradlew testand./gradlew detektAllinserverto check backend. - Use logs from
docker compose logs -fto identify issues.
✅ Next Steps
Section titled “✅ Next Steps”- Explore Core Concepts
- Learn about Workspace management
- Customize Publishing Workflows