Fladder/DEVELOPEMENT.md

1.3 KiB

🚀 Fladder Dev Setup

🔧 Requirements

Ensure the following tools are installed:

Verify your Flutter setup with:

flutter doctor

🚀 Quick Start

# Clone the repository
git clone https://github.com/DonutWare/Fladder.git
cd Fladder

# Install dependencies
flutter pub get

🐧 Linux Dependencies

If you're on Linux, install the mpv dependency:

sudo apt install libmpv-dev

🛠️ Running the App

  1. Connect a device or launch an emulator.
  2. In VS Code:
    • Select the target device (bottom right corner).
    • Press F5 or go to Run > Start Debugging.
    • If prompted, select "Run Anyway".

⚙️ Code Generation

Generate build files (e.g., for json_serializable, freezed, etc.):

flutter pub run build_runner build

Tip: Use watch for continuous builds during development:

flutter pub run build_runner watch

Update localization definitions:

flutter gen-l10n

🌐 Using a demo Server

You can use a fake server from Jellyfin. https://demo.jellyfin.org/stable/web/