https://github.com/Sithumli/Alviora.gitBefore you begin, ensure you have the following installed:
- Git
- Flutter (latest stable version)
- Python (3.8 or higher)
- Android Studio (for Android development)
- Xcode (for iOS development, macOS only)
- VS Code (recommended IDE)
Alviora/
├── Alviora_phone_app/ # Mobile application for users (Elders & ect...)
├── Alviora_tablet_app/ # Tablet application for caregivers
└── Python_backend/ # Backend services and ML models
git clone https://github.com/Sithumli/Alviora.git
cd Alvioracd Alviora_phone_app
# Install Flutter dependencies
flutter pub get
# Configure Firebase
# 1. Create a new Firebase project at https://console.firebase.google.com/
# 2. Add an Android app and download google-services.json
# 3. Place google-services.json in android/app/
# 4. For iOS, download GoogleService-Info.plist and place in ios/Runner/
# Run the app
flutter runcd ../Alviora_tablet_app
# Install Flutter dependencies
flutter pub get
# Configure Firebase (similar to phone app)
# 1. Use the same Firebase project
# 2. Add another Android app and download google-services.json
# 3. Place google-services.json in android/app/
# 4. For iOS, download GoogleService-Info.plist and place in ios/Runner/
# Run the app
flutter runcd ../Python_backend
# Create a virtual environment
python -m venv venv
# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
# Install required packages
pip install -r requirements.txt
# Run the backend server
python main.pyInstall the following VS Code extensions:
- Flutter
- Dart
- Python
- Firebase Explorer
- Git History
- Git Lens
- Install the Flutter and Dart plugins
- Configure Android SDK
- Set up Android Emulator
- Install Xcode from the App Store
- Install Xcode Command Line Tools
- Set up iOS Simulator
- Create a new Firebase project at https://console.firebase.google.com/
- Enable the following services:
- Authentication
- Cloud Firestore
- Cloud Storage
- Cloud Functions (if needed)
- Configure each app (phone and tablet) with the appropriate Firebase config files
cd Alviora_phone_app
flutter runcd Alviora_tablet_app
flutter runcd Python_backend
python app.py-
Flutter pub get fails:
- Check your internet connection
- Try deleting pubspec.lock and running flutter pub get again
-
Firebase configuration issues:
- Verify google-services.json is in the correct location
- Check Firebase project settings
- Ensure package names match in Firebase console
-
Python backend issues:
- Verify virtual environment is activated
- Check all required packages are installed
- Ensure correct Python version is being used
- Check the Flutter documentation
- Visit the Firebase documentation
- Open an issue in the repository
- Contact the development team
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request