Quick Start
Quick Start
Get the Manacore monorepo running locally in just a few steps.
Prerequisites
Before you begin, ensure you have:
- Node.js 20 or higher
- pnpm 9.15.0 (
npm install -g pnpm@9.15.0) - Docker and Docker Compose
- Git
Installation
-
Clone the repository
Terminal window git clone https://github.com/manacore/manacore-monorepo.gitcd manacore-monorepo -
Install dependencies
Terminal window pnpm install -
Start infrastructure services
This starts PostgreSQL, Redis, and MinIO (S3-compatible storage):
Terminal window pnpm docker:up -
Setup environment variables
Generate environment files for all apps:
Terminal window pnpm setup:env -
Start an application
Use
dev:*:fullcommands for the best experience - they automatically set up databases:Terminal window pnpm dev:chat:fullOpens at
http://localhost:5173(web) andhttp://localhost:3002(API)Terminal window pnpm dev:zitare:fullOpens at
http://localhost:5174(web) andhttp://localhost:3007(API)Terminal window pnpm dev:picture:fullOpens at
http://localhost:5175(web)
What dev:*:full Does
The full commands automatically:
- Create the database if it doesn’t exist
- Push the latest schema with Drizzle
- Start Mana Core Auth (authentication service)
- Start the backend (NestJS API)
- Start the web app (SvelteKit)
All processes run concurrently with color-coded output.
Verify Installation
Once running, you should be able to:
- Open the web app at the URL shown in the terminal
- Check the API health endpoint:
Terminal window curl http://localhost:3002/api/v1/health - Access MinIO console at
http://localhost:9001(user:minioadmin, password:minioadmin)
Next Steps
- Learn about the Project Structure
- Configure Environment Variables
- Understand the Architecture
Troubleshooting
Docker not running
# Make sure Docker Desktop is running, then:pnpm docker:upPort already in use
Check what’s using the port and stop it:
lsof -i :3002 # Check port 3002kill -9 <PID> # Stop the processDatabase connection issues
Ensure PostgreSQL is running:
docker ps # Should show postgres containerpnpm docker:logs postgres # Check logs