Skip to content

Commit

Permalink
UPDATE: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wiemanboy committed Sep 20, 2024
1 parent afece1c commit ec0d478
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 10 deletions.
Binary file added .github/assets/daily_calender.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/weekly_calender.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release

# Auto generated files
ic_launcher*
Icon-App-*
55 changes: 45 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,62 @@
# StreakCounters

A new Flutter project.
A simple app for tracking daily, weakly or monthly activities and showing them in streaks,
kind of like duo lingo but for anything.

## Getting Started
<img src=".github/assets/home.png" alt="Home Screen" width="300"/>
<img src=".github/assets/daily_calender.png" alt="Daily calender" width="300"/>
<img src=".github/assets/weekly_calender.png" alt="Weekly calender" width="300"/>

The latest version of the app apk can be downloaded
from [the release page](https://github.com/wiemanboy/StreakCounters/releases).

This project is a starting point for a Flutter application.
Currently, the app is only available for android as building for ios requires a macOS instance and
that would see me go through my action minutes 10x faster.

A few resources to get you started if this is your first Flutter project:
Refer to the
flutter [macOS setup documentation](https://docs.flutter.dev/get-started/install/macos/mobile-ios)
and [ios build documentation](https://docs.flutter.dev/deployment/ios) if you have a macOS
instance and want to build the app yourself.

- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
## Getting Started

For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
This project is build using flutter.

For help getting started with Flutter development, view
[the online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

## Auto generate objectbox.g.dart
## ObjectBox

This project uses ObjectBox for storing data.

The following command is used to generate the objectbox files based on the models.

```bash
dart run build_runner build
```

## Deplopyment
## Testing

Test files are located in the test directory,
all files must be appended with `_test.dart` for flutter to recognize them.

These can then be run using the following command:
```bash
flutter test
```

## Building

Before building the app, the icons must be generated using the following command:

```bash
dart run flutter_launcher_icons
```

This will generate the different icons needed for the app based of the `app_icon.png` file, defined
in the `pubspec.yml`.

```bash
flutter build apk --release
```
Binary file removed android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.

0 comments on commit ec0d478

Please sign in to comment.