Flutter project using Domain-Driven Design and bloc pattern
- Dart: 2.17.6
- Flutter SDK: 3.0.5
- CocoaPods: 1.11.3
- cp env:
- Run
cp .env.exampe .env
- STREAM_KEY: create projct and get stream key from https://getstream.io/
- Run
- Gen env to
.vscode/launch.json
:- Run
make dart_defines
- Run
- Firebase config:
- Create project in here https://console.firebase.google.com/
- Add Firebase to flutter app https://firebase.google.com/docs/flutter/setup
- Enable Authentication and select and adding your first sign-in method is Email/Password Native providers
- Enable Functions and deploy code:
- Run
cd functions
andfirebase deploy --only functions
- Run
- Enable Storage.
-
WARN: If you already and
lefthook
andlcov
, you could omit this step. -
Install lefthook:
- Run
gem install lefthook
orsudo gem install lefthook
- Run
-
Get path:
- Run
which lefthook
- Run
-
Export paths:
- Add to
.zshrc
or.bashrc
- Add to
export PATH="$PATH:~/.gem/gems/lefthook-0.7.7/bin"
-
Save file
.zshrc
-
Run
source ~/.zshrc
-
Install lcov:
- Run
brew install lcov
- Run