Efficient station-based training. Organize, run and track drills with ease.
To get started with developing for RingDrill using Flutter, follow these steps:
-
Clone the Repository:
Clone the RingDrill repository to your local machine:git clone https://github.com/DISCOOS/ringdrill.git
-
Set Up Development Environment:
Ensure you have the following prerequisites installed:- Flutter SDK
- Appropriate code editor (e.g., Android Studio with the Flutter and Dart plugins or Visual Studio Code with Flutter extension)
- JDK 17 or higher if you're targeting Android
- Xcode installed if you're targeting iOS
-
Configure the Project:
- Run the following commands in the project’s root directory to ensure all dependencies are installed:
flutter pub get
- If you're targeting Android, verify and set the
compileSdkVersionin theandroid/app/build.gradlefile to match the target SDK version (34 in this case). - If you're targeting iOS, ensure that the iOS deployment target is appropriately set in
ios/Podfile.
- Run the following commands in the project’s root directory to ensure all dependencies are installed:
-
Generate Code Using Build Runner:
Generate any required code for the project by running:make build
-
Enable Build Runner Watch Mode (Optional):
To automatically rebuild generated code when making changes, you can run:make watch
-
Create Release Builds:
For generating an Android release build using Shorebird, execute:make release-android
-
Patch Android Builds (Optional):
If deploying incremental patch updates for Android, run:make patch-android
-
Run the Application:
Start the project on your desired emulator or physical device:flutter run
-
Run the Admin CLI: To activate:
dart pub global activate -s path .See usage for additional information:
ringdrill -h