Operations
Local Stack
What `npx isplay start` does and how to verify the local API.
npx isplay start is the fastest local development path.
Startup Steps
It does four things:
- Creates
.isplay/artifactsin the current working directory. - Uses
DATABASE_URLwhen set; otherwise starts or reuses a Docker container namedisplay-postgres. - Runs Postgres migrations and ensures the artifact directory exists.
- Starts the Hono API server and embedded worker setup on the requested port.
The default API URL is:
http://127.0.0.1:7373The OpenAPI document is available at:
http://127.0.0.1:7373/openapi.jsonCommands
npx isplay startLeave start running. In another terminal:
export ISPLAY_API_URL=http://127.0.0.1:7373
npx isplay health
npx isplay doctorUse --port to choose a different local port:
npx isplay start --port 7474
export ISPLAY_API_URL=http://127.0.0.1:7474Docker Behavior
When DATABASE_URL is absent, CLI startup expects Docker to be available and starts or reuses the dev Postgres container. When DATABASE_URL is present, Docker is skipped.