A free open source desktop app for managing badminton tournaments.
It is currently under development. The name and everything else is subject to change.
To make organizing fun badminton tournaments easy and free (software-wise).
Is there no solution to that already?
Those that I know are not free, not badminton specific or require a lot of user experience.
Everyone is welcome to fork and/or make pull requests!
NOTE: This guide was tested using Ubuntu 22.04 and Windows 10.
- Create a working directory like
ez_badminton
- Fork and clone this repository into the working directory
you@yourdevice:~/ez_badminton$ git clone [your-forked-repository]
ezBadminton uses a custom extended PocketBase as its backend. It bundles database, data storage, authentication and REST-API.
- Download the newest prebuilt server executable from the releases.
NOTE: You can also compile the server yourself from the repository.
- Create a directory called
local_server
in your cloned repository (ez_badminton/ezBadmintonAdmin
).- Place the server executable at
ez_badminton/ezBadmintonAdmin/local_server
and rename it toezBadmintonServer
(with.exe
on Windows).
- Place the server executable at
- The client automatically detects the server executable in the
local_server
directory and starts it. - The backend is ready! On to the app itself.
The ezBadminton Admin App is a desktop app built with Flutter.
- Install the Flutter development tools on your system (Flutter 3.19.3 as of writing)
- Note on Windows: Make sure to complete this step to be able to build the flutter app for Windows
- You can ignore Android and web related setup steps as this is not a mobile/web app
NOTE: The rest of the guide assumes VSCode as IDE but there should be analog tools for other IDEs.
- Open VSCode and open your cloned repository (
ez_badminton/ezBadmintonAdmin
) - Install the following extensions (search by the IDs to find the right ones)
- Dart (Dart-Code.dart-code)
- Flutter (Dart-Code.flutter)
- Open a Terminal (e.g. in VSCode) to install Flutter dependencies with the pub package manager
Switch to
you@yourdevice:~/ez_badminton/ezBadmintonAdmin$ flutter pub upgrade
packages/collection_repository
you@yourdevice:~/ez_badminton/ezBadmintonAdmin/packages/collection_repository$ dart run build_runner build
- Press
F5
to build and run a debug session! Select a desktop target device. This takes about 2-3 minutes on the first run. Make sure your pocketbase service is still running. If the hotkey does not work, tryyou@yourdevice:~/ez_badminton/ezBadmintonAdmin$ flutter run --debug
You are ready to hack!