-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Volleyball Tournament Manager | ||
|
||
<picture> | ||
<img alt="Screenshot of matches view." src="/assets/matches.png"> | ||
</picture> | ||
|
||
## 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=<YOUR KEY> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.