Skip to content

anirac-tech/gordon-ferguson-app

Repository files navigation

Gordon Ferguson Teachings

coverage style: very good analysis License: MIT

Generated by the Very Good CLI 🤖

Mobile-friendly front end flutter app for Gordon's Main website!


Getting Started With Your Own Blog 🚀

Edit SETUP.dart in the lib/ folder to set your desired blog URL and title. Then run: dart run build_runner build -d

Run the app to see your new paginated blog!

Flavors

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*Gordon Ferguson Teaching works on iOS, Android, Web, and Windows.


Running Tests 🧪

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html