Flutter Starter using Material Design UI.
Before cloning the project, please ensure you have the following software installed on your system:
- Flutter (via FVM)
- Dart SDK
- Android Studio and Xcode (for respective platforms)
- Cocoapods (for iOS dependencies)
Follow these instructions to set up the project locally on your system:
-
Clone the repository:
git clone https://gitlab.com/bastosmichael/flutter-mui-starter.git
-
Change directory to the project folder:
cd flutter-mui-starter
-
Install FVM:
dart pub global activate fvm
-
Set the Flutter version for this project:
fvm use stable
-
Get the packages:
flutter pub get
To run the application in debug mode, run the following command in the project directory:
flutter run
To run the application in release mode, run the following command in the project directory:
flutter run --release
To create an APK for the application, run the following command in the project directory:
flutter build apk --release
This will generate an APK file in the build/app/outputs/flutter-apk/
directory.
To create an IPA for the application, you'll first need to create a build archive. Navigate to the ios folder (cd ios
) in your project directory and then:
xcodebuild archive -scheme Runner -archivePath ../build/Runner.xcarchive
Then to create the IPA, use the following command:
xcodebuild -exportArchive -archivePath build/Runner.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath build
- Follow the guide here to upload your APK: Publish your app
- Follow the guide here to upload your IPA: Distribute an app through App Store
Written in Go check documentation for install.
cd server
mkdir -p bin
go build -o ./bin ./...
./bin/server
curl localhost:3000/ping
# output: pong
To add pages, update the docs/SUMMARY.md
file.
MDBook will automatically create the file if it doesn't exist during a build or serve which is the easiest way to add
content.
mdbook serve
Please read CONTRIBUTING.md
for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md
file for details.