Skip to content

Local development

Run the project on your own machine to develop or evaluate it.

Install

bash
pnpm install

Start a database

The quickest way is a local Postgres. You can run one with Docker using the provided Compose file, or start a lightweight local instance:

bash
pnpm db:local

Then apply the schema:

bash
pnpm db:migrate

Run the app

Start the web app in development:

bash
pnpm dev

It runs on port 3000, with the editor at /editor.

Run the editor standalone

To work on the editor in isolation, serve it on its own:

bash
pnpm editor

This serves the editor on port 8200.

Configure first

Copy .env.example to .env before you start, so the database, storage, and auth are configured. See Configuration.