Skip to main content

Quickstart

This is the fastest path to a working My Clawster environment.

Prerequisites

  • Bun 1.1 or newer
  • A local SQLite or Cloudflare D1 target
  • Provider credentials only if you want to test real provisioning

Local setup

git clone https://github.com/la-rebelion/clawster.git
cd clawster/my-clawster
bun install
cp apps/api/.env.example apps/api/.env
bun run --filter=./apps/api db:migrate

Choose a mode

Mock mode

Use this when you want to explore the product without calling a real provider. The mock runtime returns synthetic provisioning responses so you can exercise the full UI and API flow without credentials.

bun run dev:mock

Real provider mode

Use this when you want My Clawster to provision through a live provider. Requires provider credentials in your .env file.

bun run dev

Key environment variables to set in apps/api/.env:

VariableWhat it does
DATABASE_URLSQLite path or D1 binding name
JWT_SECRETAuth signing key (generate a random 32-byte value)
PROVIDER_API_KEYCredentials for your default provider
MOCK_MODESet to true to force mock regardless of provider config

Default local URLs

SurfaceURL
Web apphttp://localhost:5173
APIhttp://localhost:3000
API docs (Swagger)http://localhost:3000/docs