Quick Start
Prerequisites
Section titled “Prerequisites”- Bun 1.2+
- Docker and Docker Compose
- Pulumi CLI (v3.x)
Start the Dev Environment
Section titled “Start the Dev Environment”git clone https://github.com/procella-dev/procella.gitcd procellabun run devThis starts the following services:
| Service | Purpose | Port |
|---|---|---|
| PostgreSQL 17 | Database | 5432 |
| MinIO | S3-compatible blob storage | 9000 (API), 9001 (console) |
| Procella server | Bun server with hot-reload | 9090 |
| Vite dev server | React UI with HMR | 5173 |
The server runs database migrations automatically on startup.
Log In with the Pulumi CLI
Section titled “Log In with the Pulumi CLI”export PULUMI_ACCESS_TOKEN=devtoken123pulumi login http://localhost:9090The dev environment uses a static token (devtoken123) for authentication. This maps to the default dev user (dev-user) in the default organization (dev-org).
Create and Deploy a Stack
Section titled “Create and Deploy a Stack”# Create a new Pulumi projectmkdir my-infra && cd my-infrapulumi new typescript --yes
# Deploypulumi up --yes
# View the stackpulumi stack
# Export statepulumi stack export
# Clean uppulumi destroy --yespulumi stack rm --yesVerify the Setup
Section titled “Verify the Setup”You can verify the server is running correctly:
# Health checkcurl http://localhost:9090/healthz
# Check capabilitiescurl -H "Accept: application/vnd.pulumi+8" http://localhost:9090/api/capabilities
# List stacks (requires auth)curl -H "Accept: application/vnd.pulumi+8" \ -H "Authorization: token devtoken123" \ http://localhost:9090/api/user/stacksMulti-Tenant Testing
Section titled “Multi-Tenant Testing”The dev environment supports multiple users and organizations out of the box:
| User | Token | Organization | Role |
|---|---|---|---|
dev-user | devtoken123 | dev-org | admin |
user-b | token-user-b | org-b | admin |
viewer-user | token-viewer | dev-org | viewer |
# Log in as user-bexport PULUMI_ACCESS_TOKEN=token-user-bpulumi login http://localhost:9090
# Stacks are isolated per organization — user-b can only see org-b stackspulumi stack lsStop the Environment
Section titled “Stop the Environment”bun run dev:downThis stops all containers and removes volumes (including database data).
Next Steps
Section titled “Next Steps”- Configuration — customize the server with environment variables
- Docker Compose — understand the deployment profiles
- Testing — run the E2E acceptance test suite