Omni is a personalized learning app for persons with special needs. It was built using the Gemini API.
- Run
flutter clean
. - To install all the package dependencies, run
flutter pub get
. - Create a
.env
file with the following variables.
FIREBASE_API_KEY_WEB = <YOUR API KEY>
FIREBASE_API_KEY_ANDROID = <YOUR API KEY>
FIREBASE_API_KEY_IOS = <YOUR API KEY>
FIREBASE_API_KEY_MACOS = <YOUR API KEY>
FIREBASE_API_KEY_WINDOWS = <YOUR API KEY>
GOOGLE_API_KEY = <YOUR API KEY>
FIREBASE_STORAGE_BUCKET = <YOUR BUCKET NAME>
FLASK_APP = "api.py"
FLASK_DEBUG = 1
- Navigate to the
server
directory. Create and activate a virtual environment. - Set-up OAuth with service accounts. Add a
service_account_key.json
file to the server directory. - Run
pip install -r requirements.txt
- Start the server by running
flask run
. - To start the application, run
flutter run -d chrome --web-renderer html
.