Copy the environment variables
cp .env.example .env
Replace the <absolute_url>
in the local database env with:
pwd # e.g. /Users/carlo/Projects/svelte-launch (copy this!)
# Replace the .env with:
DATABASE_URL="file:/Users/carlo/Projects/svelte-launch/local.db"
Generate
bun db:generate # generates Kysely and Prisma client types.
bun db:migrate # migrates your database.
bun db:seed # seeds your database with the data (according to the examples by Charles Okrobo)
Install deps and run dev
bun install
bun dev
This was built with Carlo's ๐งก Svelte Launch starter.
An sophisticated boiler-plate built for simplicity.