From 94c139c7b8888963c24d36988fe857cb142048fd Mon Sep 17 00:00:00 2001 From: voidarc Date: Wed, 6 May 2026 16:21:07 +0100 Subject: [PATCH] removed db from tracked files and added readme --- .gitignore | 3 ++- README.md | 43 ++++--------------------------------------- 2 files changed, 6 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index 6f14e65..66f18c5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* # SQLite *.db -.session + scripts/data/* .session +local.db diff --git a/README.md b/README.md index 289f11f..ecc6af7 100644 --- a/README.md +++ b/README.md @@ -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.