Follow the steps to setup your Turso development database (Using Turso for dev and prod seems like a good idea).
Once you've created a project and installed dependencies with pnpm install
, start a development server:
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
To create a production version of your app:
pnpm run build
You can preview the production build with pnpm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
pnpm run drizzle-generate
pnpm run migrate