diff --git a/README.md b/README.md index 9f7dd51..d9ed7ba 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,4 @@ The problems with creating a schedule by hand are that teams often end up playin I knew I wanted to build something for fun and learning using SvelteKit and Supabase, so this is the problem that I chose to tackle (I know scheduling tournaments is a solved problem)! -Settings page +Settings page diff --git a/developer/README.md b/developer/README.md new file mode 100644 index 0000000..3238e38 --- /dev/null +++ b/developer/README.md @@ -0,0 +1,46 @@ +# Volleyball Tournament Manager + + + Screenshot of matches view. + + +## Developing + +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +```bash +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: + +```bash +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://kit.svelte.dev/docs/adapters) for your target environment. + +## Supabase locally + +```bash + supabase start + supabase npx supabase link + npx supabase db pull +``` + +Should set supabase URL and key to connect to local instance in `.env.development`. + +``` +PUBLIC_COMMIT_REF=dev +PUBLIC_ADMIN_USER=root@localhost +PUBLIC_ADMIN_USER_PASSWORD=njkdnbkjdbfhjf +PUBLIC_SUPABASE_URL=http://127.0.0.1:54321 +PUBLIC_SUPABASE_ANON_KEY= +``` diff --git a/src/lib/brackets/brackets.svelte.ts b/src/lib/brackets/brackets.svelte.ts index ac83d1e..8fe19d3 100644 --- a/src/lib/brackets/brackets.svelte.ts +++ b/src/lib/brackets/brackets.svelte.ts @@ -3,7 +3,7 @@ import { findStandings } from '../standings.svelte'; import { Matches } from '../matches.svelte'; export class Brackets extends Matches { - matches?: MatchRow[] = $state(); + matches: MatchRow[] = $state(); type = 'bracket'; // Overload Matches load method to only load our bracket matches. diff --git a/static/blog/images/edmo.mov b/static/blog/images/edmo.mov deleted file mode 100644 index 9cd2507..0000000 Binary files a/static/blog/images/edmo.mov and /dev/null differ diff --git a/static/blog/images/matches.png b/static/blog/images/matches.png deleted file mode 100644 index adb1645..0000000 Binary files a/static/blog/images/matches.png and /dev/null differ diff --git a/static/blog/images/settings.png b/static/blog/images/settings.png deleted file mode 100644 index 88808c9..0000000 Binary files a/static/blog/images/settings.png and /dev/null differ diff --git a/static/blog/images/subscribeToChanges.png b/static/blog/images/subscribeToChanges.png deleted file mode 100644 index 0fb3825..0000000 Binary files a/static/blog/images/subscribeToChanges.png and /dev/null differ