> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3.2 Run locally

> Install dependencies, start the Next.js development server, and build a production bundle.

**1. Install dependencies**

```bash theme={"system"}
pnpm install
```

**2. Start the development server**

```bash theme={"system"}
pnpm dev
```

Next.js prints the local URL.

**3. Sign in**

Open the local URL. The app redirects unauthenticated requests to `/login`. Enter `admin` for both the username and password. Select **Remember me** to keep the session cookie for seven days.

**4. Open a demo**

The launcher at `/launcher` shows one card for each registered plugin. Select **Open demo** to open `/demo/<pluginId>` in a new tab.

## 3.2.1 Run a production build

```bash theme={"system"}
pnpm build
pnpm start
```

`pnpm build` produces the production Next.js build, and `pnpm start` serves it.

## 3.2.2 Run the repository checks

Run these before opening a pull request.

```bash theme={"system"}
pnpm lint
pnpm typecheck
pnpm test
```

Run `pnpm build` as well when your change affects the web app or its build.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.