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.
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 installPull 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 linkThis 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:studioStart Development
bun run devYour store is now running at http://localhost:5173
- Storefront:
http://localhost:5173 - Admin:
http://localhost:5173/admin
Last updated on