Everything you need to build a Svelte project, powered by sv.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
bunx sv create
# create a new project in my-app
bunx sv create my-appOnce you've created a project and installed dependencies with bun install, start a development server:
# One time setup
## Run the next line and fill up the details in the new `.env.local` file
cp .env.example .env.local
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --openbun run db:pushbunx @better-auth/cli generate -y --output ./src/lib/server/db/betterauth/schema.ts
To create a production version of your app:
bun run buildYou can preview the production build with bun run preview.
To deploy your app, you may need to install an adapter for your target environment.
If you want to add test users, you need to add them here