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

# Deployment

> Build and run ShipFree in production.

# Deployment

## Build

```bash theme={null}
bun build
```

## Start

```bash theme={null}
bun start
```

## Database migrations

For production deployments:

```bash theme={null}
bun run migrate:prod
```

## Required configuration

Make sure these variables are configured for your environment:

* `DATABASE_URL`
* `BETTER_AUTH_SECRET`
* `BETTER_AUTH_URL`
* `NEXT_PUBLIC_APP_URL`

If you use auth providers, payments, email, storage, or Sentry, set those values as well.
