gergle/README.md

28 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-12-15 00:52:28 +01:00
# gergle
2025-01-06 19:13:20 +01:00
The second season for the frontend of the collaborative music player system grzegorz, succeeding the [grzegorz-clients](https://git.pvv.ntnu.no/Grzegorz/grzegorz-clients) GUI.
2024-12-15 00:52:28 +01:00
2025-01-06 19:13:20 +01:00
This player is meant to be used with the [websocket API from greg-ng](https://git.pvv.ntnu.no/Projects/greg-ng/src/branch/main/src/api/websocket_v1.rs).
2024-12-15 00:52:28 +01:00
2025-01-06 19:13:20 +01:00
### Getting started
2024-12-15 00:52:28 +01:00
2025-01-06 19:13:20 +01:00
- [Install flutter](https://docs.flutter.dev/get-started/install) (or get your environment with nix)
2024-12-15 00:52:28 +01:00
2025-01-06 19:13:20 +01:00
- [Run a local instance of greg-ng](https://git.pvv.ntnu.no/Grzegorz/greg-ng/src/branch/main/README.md)
- Start your app with `flutter run`.
### Running on web
While the software is maintained as a native desktop app for linux, we don't have development capacity to ensure it runs for mac and windows as well. But fear not, it builds as a webpage.
If you have chromiumm installed, you can use `flutter run -d chrome`
If you do not have chromium installed, you can build the website first, and then host it in a webserver of your choice. Here's an example with python's builtin webserver:
```bash
flutter build web
python -m http.server -d build/web/
```
2024-12-15 00:52:28 +01:00