-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
90 changed files
with
1,600 additions
and
1,460 deletions.
There are no files selected for viewing
File renamed without changes.
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
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
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
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,82 @@ | ||
# Without FVM | ||
|
||
gen: | ||
@echo "Running build runner" | ||
@flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
init: | ||
@echo "Getting latest dependencies" | ||
@flutter pub get | ||
@echo "Running build runner" | ||
@flutter pub run build_runner build --delete-conflicting-outputs | ||
@echo "Generating automated localizations" | ||
@flutter gen-l10n | ||
|
||
get: | ||
@echo "Getting latest dependencies" | ||
@flutter pub get | ||
|
||
upgrade: | ||
@echo "Upgrading dependencies" | ||
@flutter pub upgrade | ||
|
||
upgrademajor: | ||
@echo "Upgrading dependencies --major-versions" | ||
@flutter pub upgrade --major-versions | ||
|
||
clean: | ||
@echo "Cleaning the project" | ||
@flutter clean | ||
@make finit | ||
|
||
format: | ||
@echo "Formatting code" | ||
@dart fix --apply | ||
@dart format -l 120 --fix . | ||
|
||
genicon: | ||
@echo "Generating app icons" | ||
@flutter pub run flutter_launcher_icons:main -f flutter_launcher_icons.yaml | ||
|
||
ln: | ||
@echo "Generating automated localizations" | ||
@flutter gen-l10n | ||
|
||
# With FVM | ||
|
||
fgen: | ||
@echo "Running build runner" | ||
@fvm flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
finit: | ||
@echo "Getting latest dependencies" | ||
@fvm flutter pub get | ||
@echo "Running build runner" | ||
@fvm flutter pub run build_runner build --delete-conflicting-outputs | ||
@echo "Generating automated localizations" | ||
@fvm flutter gen-l10n | ||
|
||
fget: | ||
@echo "Getting latest dependencies" | ||
@fvm flutter pub get | ||
|
||
fupgrade: | ||
@echo "Upgrading dependencies" | ||
@fvm flutter pub upgrade | ||
|
||
fupgrademajor: | ||
@echo "Upgrading dependencies --major-versions" | ||
@fvm flutter pub upgrade --major-versions | ||
|
||
fclean: | ||
@echo "Cleaning the project" | ||
@fvm flutter clean | ||
@make finit | ||
|
||
fgenicon: | ||
@echo "Generating app icons" | ||
@fvm flutter pub run flutter_launcher_icons:main -f flutter_launcher_icons.yaml | ||
|
||
fln: | ||
@echo "Generating automated localizations" | ||
@fvm flutter gen-l10n |
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,17 +1,52 @@ | ||
# Shop | ||
|
||
## Screenshots | ||
# Приложение магазина на Flutter | ||
|
||
<p align="left" width="100%"> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469437-292222dd-0ea3-4706-89bf-d0989b28a063.png" width="32%"/> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469492-57b27a8b-28b5-425d-a01c-329240e8c5df.png" width="32%"/> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469513-bafd991a-6155-414a-b6e9-9d1cf4bff890.png" width="32%"/> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469437-292222dd-0ea3-4706-89bf-d0989b28a063.png" width="30%"/> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469492-57b27a8b-28b5-425d-a01c-329240e8c5df.png" width="30%"/> | ||
<img src="https://user-images.githubusercontent.com/80569772/208469513-bafd991a-6155-414a-b6e9-9d1cf4bff890.png" width="30%"/> | ||
</p> | ||
|
||
## Stack | ||
--- | ||
## Документация | ||
- [Adding Core Dependency]() | ||
- [Architecture]() | ||
- [Automation]() | ||
- [Best Practices]() | ||
- [Branch Design]() | ||
- [Code Generation]() | ||
- [Code Review]() | ||
- [Commit Design]() | ||
- [Creating New Features]() | ||
- [Files Structure]() | ||
- [Git Flow]() | ||
- [Layers]() | ||
- [Pull Request Design]() | ||
- [Tools]() | ||
|
||
# Запуск приложения | ||
## Программы | ||
Перед запуском проекта необходимо установить: | ||
- [Choco](https://chocolatey.org/install) (с помощью данной утилиты можно установить все остальные программы) | ||
- [Make](https://www.gnu.org/software/make/#download) (необходимо для работы автоматизации команд) | ||
- [Flutter](https://docs.flutter.dev/get-started/install) (`choco install flutter`) | ||
- [FVM](https://fvm.app/) ([`choco install fvm --version 2.4.2-dev0 -y`](https://github.com/leoafarias/fvm/issues/557)) | ||
- [Dart](https://dart.dev/get-dart) (`choco install dart-sdk`) | ||
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) (`choco install git.install`) | ||
- [Flutter Gen](https://pub.dev/packages/flutter_gen) (`dart pub global activate flutter_gen`) | ||
|
||
|
||
## Commands | ||
После установки всех необходимых программ нужно выполнить следующие команды: | ||
|
||
git clone https://github.com/p0dyakov/shop.git | ||
cd shop | ||
make init | ||
|
||
или | ||
|
||
- flutter | ||
- dart | ||
- stream_bloc | ||
- freezed | ||
- auto_route | ||
git clone https://github.com/p0dyakov/shop.git | ||
cd shop | ||
flutter pub get | ||
flutter pub run build_runner build --delete-conflicting-outputs | ||
flutter gen-l10n | ||
|
Oops, something went wrong.