2. 🛠️ Installation & Setup Guide
🔧 Prerequisites
Make sure the following tools and dependencies are installed:
- Flutter SDK
- Dart: 3.4.4
- Flutter DevTools: 2.34.3
- Flutter SDK archive: flutter_macos_arm64_3.22.3-stable.zip (macOS example)
- Android Studio (any recent version)
To verify installation:
flutter doctor
🖥️ Setting Up Local Development Environment
The Kleber App supports macOS, Windows, and Linux for development.
- Download Flutter SDK and extract it to a suitable location.
- Add Flutter to your system path.
- Open a terminal and run:
flutter doctor
to ensure your system is ready. - Install Android Studio or Xcode depending on your target platform.
🔁 Cloning the Repository & Installing Dependencies
Follow these steps to clone the Kleber App repo and set up your development environment:
- Clone the Repository
git clone <repo-url> cd kleber-app
- Install Flutter Dependencies
git clone <repo-url> cd kleber-app
This fetches all required packages listed in pubspec.yaml
.
- 🚀 Run the App
flutter run
✅Connect a physical device or use an emulator/simulator..
⚙️ Configuration Files
Set up any required environment or config variables:
Common file locations lib/utils/end_points.dart
:
baseUrl
🔗 Connecting to InvestGlass Backend
The app communicates with InvestGlass via API calls. You’ll need to choose between staging or production:
- Staging URL:
https://staging.investglass.com/client_portal_api/
- Production URL:
https://staging.investglass.com/client_portal_api/
To switch environments:
- Open
lib/utils/end_points.dart
- Comment/ uncomment the appropriate
baseUrl
line - Restart the app
Updated 5 days ago