-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b20492
commit 576e8f5
Showing
370 changed files
with
18,006 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Don't forget, .env should never be commited. | ||
# If you want to keep your environment variables secret, | ||
# you might be interested in git-crypt, otherwise add | ||
# the .env to your .gitignore file. | ||
|
||
# DEV | ||
API_URL=https://dev.com/api/v1 | ||
ANALYTICS_URL=https://dev.analytics.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Don't forget, .env should never be commited. | ||
# If you want to keep your environment variables secret, | ||
# you might be interested in git-crypt, otherwise add | ||
# the .env to your .gitignore file. | ||
|
||
# DEV | ||
API_URL=https://prod.com/api/v1 | ||
ANALYTICS_URL=https://prod.analytics.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"flutter": "3.24.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
# Miscellaneous | ||
*.class | ||
*.lock | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# Visual Studio Code related | ||
.classpath | ||
.project | ||
.settings/ | ||
.vscode/ | ||
|
||
# Flutter repo-specific | ||
/bin/cache/ | ||
/bin/internal/bootstrap.bat | ||
/bin/internal/bootstrap.sh | ||
/bin/mingit/ | ||
/dev/benchmarks/mega_gallery/ | ||
/dev/bots/.recipe_deps | ||
/dev/bots/android_tools/ | ||
/dev/devicelab/ABresults*.json | ||
/dev/docs/doc/ | ||
/dev/docs/flutter.docs.zip | ||
/dev/docs/lib/ | ||
/dev/docs/pubspec.yaml | ||
/dev/integration_tests/**/xcuserdata | ||
/dev/integration_tests/**/Pods | ||
/packages/flutter/coverage/ | ||
version | ||
analysis_benchmark.json | ||
|
||
# packages file containing multi-root paths | ||
.packages.generated | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
**/generated_plugin_registrant.dart | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
build/ | ||
flutter_*.png | ||
linked_*.ds | ||
unlinked.ds | ||
unlinked_spec.ds | ||
|
||
# Android related | ||
**/android/**/gradle-wrapper.jar | ||
**/android/.gradle | ||
**/android/captures/ | ||
**/android/gradlew | ||
**/android/gradlew.bat | ||
**/android/local.properties | ||
**/android/**/GeneratedPluginRegistrant.java | ||
**/android/key.properties | ||
*.jks | ||
|
||
# iOS/XCode related | ||
**/ios/**/*.mode1v3 | ||
**/ios/**/*.mode2v3 | ||
**/ios/**/*.moved-aside | ||
**/ios/**/*.pbxuser | ||
**/ios/**/*.perspectivev3 | ||
**/ios/**/*sync/ | ||
**/ios/**/.sconsign.dblite | ||
**/ios/**/.tags* | ||
**/ios/**/.vagrant/ | ||
**/ios/**/DerivedData/ | ||
**/ios/**/Icon? | ||
**/ios/**/Pods/ | ||
**/ios/**/.symlinks/ | ||
**/ios/**/profile | ||
**/ios/**/xcuserdata | ||
**/ios/.generated/ | ||
**/ios/Flutter/.last_build_id | ||
**/ios/Flutter/App.framework | ||
**/ios/Flutter/Flutter.framework | ||
**/ios/Flutter/Flutter.podspec | ||
**/ios/Flutter/Generated.xcconfig | ||
**/ios/Flutter/ephemeral | ||
**/ios/Flutter/app.flx | ||
**/ios/Flutter/app.zip | ||
**/ios/Flutter/flutter_assets/ | ||
**/ios/Flutter/flutter_export_environment.sh | ||
**/ios/ServiceDefinitions.json | ||
**/ios/Runner/GeneratedPluginRegistrant.* | ||
|
||
# macOS | ||
**/macos/Flutter/GeneratedPluginRegistrant.swift | ||
|
||
# Coverage | ||
coverage/ | ||
|
||
# Symbols | ||
app.*.symbols | ||
|
||
# Exceptions to above rules. | ||
!**/ios/**/default.mode1v3 | ||
!**/ios/**/default.mode2v3 | ||
!**/ios/**/default.pbxuser | ||
!**/ios/**/default.perspectivev3 | ||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages | ||
!/dev/ci/**/Gemfile.lock | ||
|
||
/ios/build/* | ||
|
||
# Hide injection files. | ||
/*.inject.summary | ||
/*.inject.dart | ||
**/*.freezed.dart | ||
**/*.g.dart | ||
**/*.gr.dart | ||
**/*.config.dart | ||
android/app/release/ | ||
|
||
# don't check in golden failure output | ||
**/failures/*.png | ||
|
||
# FVM Version Cache | ||
.fvm/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,72 @@ | ||
# fvm_monorepo_bloc_boilerplate | ||
fvm_monorepo_bloc_boilerplate | ||
# Flutter Monorepo Bloc Boilerplate | ||
|
||
## Getting Started | ||
|
||
Follow these steps to set up and run the project: | ||
|
||
### Prerequisites | ||
|
||
- **Git** installed on your machine. | ||
- **Dart Sdk (dart-sdk)** installed. | ||
|
||
```bash | ||
brew install dart-sdk | ||
``` | ||
|
||
- **Flutter Version Management (FVM)** installed. | ||
|
||
```bash | ||
brew install fvm | ||
``` | ||
|
||
- **Melos** installed. | ||
|
||
```bash | ||
fvm dart pub global activate melos | ||
``` | ||
|
||
### Installation | ||
|
||
1. **Clone the Repository** | ||
|
||
```bash | ||
git clone https://github.com/thomashoangvn/fvm_monorepo_bloc_boilerplate.git | ||
cd fvm_monorepo_bloc_boilerplate | ||
``` | ||
|
||
2. **Set Flutter Version with FVM** | ||
|
||
Use FVM to switch to the required Flutter version: | ||
|
||
```bash | ||
fvm install 3.24.3 | ||
fvm use 3.24.3 | ||
``` | ||
|
||
3. **Install Dependencies** | ||
|
||
Fetch all project dependencies: | ||
|
||
```bash | ||
fvm flutter pub get | ||
``` | ||
|
||
4. **Bootstrap the Project with Melos** | ||
|
||
Initialize the project using Melos: | ||
|
||
```bash | ||
fvm dart pub global activate melos | ||
``` | ||
|
||
```bash | ||
melos bootstrap | ||
``` | ||
|
||
## Contributing | ||
|
||
We appreciate your interest in contributing to FMBB. Feel free to open issues or submit pull requests. | ||
|
||
## License | ||
|
||
This project is licensed under the [BSD-4-Clause License](LICENSE). |
Oops, something went wrong.