Skip to Content
Getting StartedInstallation

Installation

Deploy to Vercel

The fastest way to get started is the one-click deploy button. It clones the repo, provisions a Neon Postgres database and Vercel Blob storage, and deploys everything automatically.

Deploy with Vercel

Local Development

Once your Vercel project is deployed, clone your new repository and set up locally:

# Clone your repository git clone <your-repo> cd <your-repo> # Install dependencies bun install

Pull Environment Variables

Use vercel link to connect your local project to the Vercel project, then pull all environment variables (database URL, Blob token, auth credentials, etc.) automatically:

# Link to your Vercel project to pull environment variables bunx vercel link

This creates a .env.local file with all the variables configured in your Vercel project.

Database Setup

# Apply migrations bun run db:migrate # Create an admin user bun run create:admin # (Optional) Open Drizzle Studio bun run db:studio

Start Development

bun run dev

Your store is now running at http://localhost:5173

  • Storefront: http://localhost:5173
  • Admin: http://localhost:5173/admin
Last updated on