Installation Guide¶
Get TrueLedger up and running on your platform of choice.
Prerequisites¶
- Flutter SDK: Version 3.0 or higher
- Dart SDK: Version 3.0 or higher
- Platform-specific tools:
- Android: Android Studio with Android SDK
- iOS: Xcode (macOS only)
- Linux:
libsecret-1-dev,libjsoncpp-dev - macOS: Xcode Command Line Tools
- Windows: Visual Studio 2022 with C++ tools
- Web: Chrome, Edge, or Firefox (SQLite WASM requires a modern browser)
Quick Install¶
1. Clone the Repository¶
2. Install Dependencies¶
3. Platform-Specific Setup¶
Verify Installation¶
Run the test suite to ensure everything is working:
All 21 tests should pass: - ✅ 19 Unit tests - ✅ 1 Widget test - ✅ 1 Integration test
Build for Production¶
Android APK¶
Output: build/app/outputs/flutter-apk/app-release.apk
iOS IPA¶
Then use Xcode to create an archive and export the IPA.
Linux¶
Output: build/linux/x64/release/bundle/
macOS¶
Output: build/macos/Build/Products/Release/trueledger.app
Windows¶
Output: build/windows/runner/Release/
Web¶
Output: build/web/
Deployment Tip
The web version is a Single Page Application (SPA). For production deployment (like the Live Demo), ensure your server is configured to redirect all traffic to index.html. See the Web Platform Guide for more.
Troubleshooting¶
Common Issues¶
"Flutter SDK not found"¶
"Android licenses not accepted"¶
"CocoaPods not installed" (iOS/macOS)¶
"libsecret not found" (Linux)¶
Still Having Issues?¶
- Run
flutter doctorto diagnose problems - Check the GitHub Issues
- Review platform-specific guides in the Platforms section
Next Steps¶
- Quick Start Guide - Learn the basics
- Configuration - Customize your setup
- Architecture Overview - Understand the codebase