removed db from tracked files and added readme

This commit is contained in:
2026-05-06 16:21:07 +01:00
parent 8afc181b86
commit 94c139c7b8
2 changed files with 6 additions and 40 deletions

View File

@@ -1,42 +1,7 @@
# sv
# SCORE SYSTEM FOR WHATEVER
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
Run with `bun run dev`
## Creating a project
Build database from csvs with `bun run db:push`
Seed database from csvs with `bun run db:seed`
If you're seeing this, you've probably already done this step. Congrats!
```sh
# create a new project
npx sv create my-app
```
To recreate this project with the same configuration:
```sh
# recreate this project
bun x sv@0.15.2 create --template minimal --types ts --add tailwindcss="plugins:typography,forms" better-auth="demo:password" drizzle="database:sqlite+sqlite:libsql" --install bun score-system
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```sh
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```sh
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.