Skip to content

Latest commit

Β 

History

History
55 lines (39 loc) Β· 1.36 KB

File metadata and controls

55 lines (39 loc) Β· 1.36 KB

Pascal Editor β€” Setup

Prerequisites

  • Bun 1.3+ (or Node.js 18+)

Quick Start

bun install
bun dev

The editor will be running at http://localhost:3000.

Environment Variables (optional)

Copy .env.example to .env if you need:

cp .env.example .env
Variable Required Description
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY No Enables address search in the editor
PORT No Dev server port (default: 3000)

The editor works fully without any environment variables.

Monorepo Structure

β”œβ”€β”€ apps/
β”‚   └── editor/          # Next.js editor application
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ core/            # @pascal-app/core β€” Scene schema, state, systems
β”‚   β”œβ”€β”€ viewer/          # @pascal-app/viewer β€” 3D rendering
β”‚   └── ui/              # Shared UI components
└── tooling/             # Build & release tooling

Scripts

Command Description
bun dev Start the development server
bun build Build all packages
bun check Lint and format check (Biome)
bun check:fix Auto-fix lint and format issues
bun check-types TypeScript type checking

Contributing

See CONTRIBUTING.md for guidelines on submitting PRs and reporting issues.