Skip to content

Commit 44ae630

Browse files
authored
Merge pull request #338 from Dino-Kupinic/develop
2 parents e38dade + 017b133 commit 44ae630

6 files changed

Lines changed: 70 additions & 23 deletions

File tree

.github/assets/banner.png

-382 KB
Binary file not shown.

.github/assets/preview-banner.jpg

241 KB
Loading

CHANGELOG.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,27 @@
33

44
### Features
55

6-
* add landing page video ([012b285](https://github.com/HTL-Steyr/tourney/commit/012b285584516772196408fd793bf9e8c2a3d3c1))
6+
- add landing page video ([012b285](https://github.com/HTL-Steyr/tourney/commit/012b285584516772196408fd793bf9e8c2a3d3c1))
77

88
# [0.39.0](https://github.com/HTL-Steyr/tourney/compare/v0.38.0...v0.39.0) (2026-03-13)
99

10-
1110
### Features
1211

13-
* improve AI ([6f49daf](https://github.com/HTL-Steyr/tourney/commit/6f49daf085016d0a482f5ce626a3fd89a4f26063))
14-
* improve live view ([277e15e](https://github.com/HTL-Steyr/tourney/commit/277e15ef43e43312f9a055ad10c001e5238addc7))
12+
- improve AI ([6f49daf](https://github.com/HTL-Steyr/tourney/commit/6f49daf085016d0a482f5ce626a3fd89a4f26063))
13+
- improve live view ([277e15e](https://github.com/HTL-Steyr/tourney/commit/277e15ef43e43312f9a055ad10c001e5238addc7))
1514

1615
# [0.38.0](https://github.com/HTL-Steyr/tourney/compare/v0.37.2...v0.38.0) (2026-03-12)
1716

18-
1917
### Features
2018

21-
* reduce paper margins ([c04a90e](https://github.com/HTL-Steyr/tourney/commit/c04a90eaed3d58c0483d19b2fbf3bf788669b98c))
22-
* switch from puppeteer -> gotenberg ([2f46ca3](https://github.com/HTL-Steyr/tourney/commit/2f46ca3b857994c3d5fd4c508bb54bbb9f458165))
19+
- reduce paper margins ([c04a90e](https://github.com/HTL-Steyr/tourney/commit/c04a90eaed3d58c0483d19b2fbf3bf788669b98c))
20+
- switch from puppeteer -> gotenberg ([2f46ca3](https://github.com/HTL-Steyr/tourney/commit/2f46ca3b857994c3d5fd4c508bb54bbb9f458165))
2321

2422
## [0.37.2](https://github.com/HTL-Steyr/tourney/compare/v0.37.1...v0.37.2) (2026-03-11)
2523

26-
2724
### Bug Fixes
2825

29-
* nixpacks already install puppeteer pkgs ([899e3a3](https://github.com/HTL-Steyr/tourney/commit/899e3a3a0c35119084d2d08420dd1894b80d9cd2))
26+
- nixpacks already install puppeteer pkgs ([899e3a3](https://github.com/HTL-Steyr/tourney/commit/899e3a3a0c35119084d2d08420dd1894b80d9cd2))
3027

3128
## [0.37.1](https://github.com/HTL-Steyr/tourney/compare/v0.37.0...v0.37.1) (2026-03-11)
3229

README.md

Lines changed: 63 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![tourney](./.github/assets/banner.png)
1+
![tourney](./.github/assets/preview-banner.jpg)
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
44
[![Version](https://img.shields.io/github/v/release/HTL-Steyr/tourney?color=blue)](https://github.com/HTL-Steyr/tourney/releases)
@@ -11,8 +11,19 @@
1111

1212
Mono repository for the tourney project. This project is a web application for managing tournaments.
1313

14-
It includes an admin dashboard for managing tournaments, teams/players, live scores, and a client app for tournament
15-
attendees.
14+
### ⚽️ Features
15+
16+
- 🏆 tournament setup for football, volleyball, and basketball with rules, time windows, prizes, and automatic group assignment
17+
- 📡 live control for group stages, active matches, and score updates during the event
18+
- 🎓 class and school year management as the base for team and registration logic
19+
- 🎟️ central registration management with registration links, teams, and status handling
20+
- 📰 news and gallery management directly from the admin dashboard
21+
- 🌳 public tournament details, live brackets, standings, and media updates in the viewer
22+
- 🤖 AI assistant for tournament setup and management suggestions in the admin dashboard
23+
24+
### Live Deployment
25+
26+
> https://tourney.dino-kupinic.dev
1627
1728
## ⏳ Activity
1829

@@ -40,25 +51,35 @@ git clone https://github.com/Dino-Kupinic/tourney.git
4051
./scripts/setup.sh
4152
```
4253

54+
> [!WARNING]
55+
> The setup script is due to be changed.
56+
4357
> [!NOTE]
4458
> Windows users need WSL installed.
4559
4660
Requirements:
4761

4862
- Docker
4963
- Bun
64+
- Node.js 22
5065

5166
#### Manual Installation
5267

5368
2. install packages
5469

5570
```bash
56-
bun i
71+
bun install
5772
```
5873

5974
> [!TIP]
6075
> If you don't have bun installed, checkout https://bun.sh to install for your operating system.
6176
77+
3. optionally run all development servers
78+
79+
```bash
80+
bun run dev
81+
```
82+
6283
### Backend
6384

6485
1. run supabase
@@ -84,10 +105,11 @@ Create a `.env` file and checkout the `.env.example`.
84105
Copy the content into your `.env` and replace the following fields with your own.
85106

86107
| Field | Description |
87-
| ------------------------ | ------------------------------------------------------ |
108+
|--------------------------|--------------------------------------------------------|
88109
| `SUPABASE_URL` | URL to Supabase API |
89110
| `SUPABASE_KEY` | Anon key |
90111
| `SUPABASE_SECRET_KEY` | Secret key (service-level key) |
112+
| `OPENAI_API_KEY` | OpenAI API key for the admin AI assistant |
91113
| `NUXT_PUBLIC_CLIENT_URL` | URL of the viewer app, default `http://localhost:3001` |
92114

93115
2. run dev server
@@ -106,10 +128,13 @@ If it works, great!
106128

107129
Create a `.env` file and checkout the `.env.example`. Copy the content into your `.env` and replace the following fields
108130

109-
| Field | Description |
110-
| -------------- | ------------------- |
111-
| `SUPABASE_URL` | URL to Supabase API |
112-
| `SUPABASE_KEY` | Anon key |
131+
| Field | Description |
132+
|---------------------------|------------------------------|
133+
| `SUPABASE_URL` | URL to Supabase API |
134+
| `SUPABASE_KEY` | Anon key |
135+
| `NUXT_GOTENBERG_URL` | URL to the Gotenberg service |
136+
| `NUXT_GOTENBERG_USERNAME` | Gotenberg username |
137+
| `NUXT_GOTENBERG_PASSWORD` | Gotenberg password |
113138

114139
2. run dev server
115140

@@ -121,14 +146,38 @@ bun run dev:viewer
121146

122147
If it works, great!
123148

149+
#### Landing page (www)
150+
151+
1. define environment variables
152+
153+
Create a `.env` file and checkout the `.env.example`. Copy the content into your `.env` and replace the following fields
154+
155+
| Field | Description |
156+
|------------------------------------|-----------------------|
157+
| `SUPABASE_URL` | URL to Supabase API |
158+
| `SUPABASE_KEY` | Anon key |
159+
| `NUXT_PUBLIC_ADMIN_APP_URL` | URL of the admin app |
160+
| `NUXT_PUBLIC_VIEWER_APP_URL` | URL of the viewer app |
161+
| `NUXT_PUBLIC_MUX_DEMO_PLAYBACK_ID` | URL of mux asset id | |
162+
163+
2. run dev server
164+
165+
```bash
166+
bun run dev:www
167+
```
168+
169+
3. Head to http://localhost:3002/
170+
171+
If it works, great!
172+
124173
#### User creator script
125174

126175
1. define environment variables
127176

128177
Create a `.env` file and checkout the `.env.example`. Copy the content into your `.env` and replace the following fields
129178

130179
| Field | Description |
131-
| --------------------- | ------------------------------ |
180+
|-----------------------|--------------------------------|
132181
| `SUPABASE_URL` | URL to Supabase API |
133182
| `SUPABASE_SECRET_KEY` | Secret key (service-level key) |
134183
| `USERS_TO_CREATE` | See comment in `.env.example` |
@@ -147,15 +196,15 @@ If it works, great! You can now log in in the admin dashboard with the created u
147196

148197
- [@Dino Kupinic](https://www.github.com/Dino-Kupinic)
149198

150-
### Core Maintainer
151-
152-
- [@Leon Arbeithuber](https://github.com/larbeith)
153-
154199
## 🛠️ Tech Stack
155200

201+
- Bun
202+
- Turbo
156203
- Nuxt 4
157204
- Supabase
158205
- Docker
206+
- OpenAI API
207+
- Gotenberg
159208

160209
## Contributing
161210

apps/www/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ SUPABASE_URL=""
22
SUPABASE_KEY=""
33
NUXT_PUBLIC_ADMIN_APP_URL=""
44
NUXT_PUBLIC_VIEWER_APP_URL=""
5+
NUXT_PUBLIC_MUX_DEMO_PLAYBACK_ID=""

apps/www/public/favicon.ico

-3.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)