Jpec57 / benkyou

A project similar to anki using SRS system to learn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODOs

https://codelabs.developers.google.com/codelabs/flutter-firebase/index.html#4 https://jisho.org/api/v1/search/words?keyword=house

READ

https://medium.com/stuart-engineering/mocking-integration-tests-with-flutter-af3b6ba846c7 https://api.flutter.dev/flutter/dart-isolate/Isolate-class.html https://medium.com/flutter-community/blazingly-fast-flutter-driver-tests-5e375c833aa flutter/flutter#27826 https://docs.fastlane.tools/ https://github.com/jonsamwell/flutter_gherkin

Benkyou

A new Flutter application using the SRS System to learn.

Getting Started

https://medium.com/flutter-community/using-sqlite-in-flutter-187c1a82e8b https://flutter.dev/docs/cookbook/persistence/sqlite

flutter packages pub run build_runner build  --delete-conflicting-outputs
flutter packages pub run build_runner watch

SQL

Access android database

Be sure to run as administrator

adb root

Search the device you want to connect to

adb devices

Open the corresponding shell

adb -s <emulator-id> shell

The database is then located in /data/data//databases We can get it on desktop by running the following commands:

cp <path>/<db-name.db> /sdcard
adb pull /sdcard/<db-name.db>

Test

Initialisation for integration test

flutter emulators --launch Nexus_5X_API_29

Launch test suite

https://flutter.dev/docs/cookbook/testing/widget/introduction

flutter test test/services/translator/translationUnit.dart

https://flutter.dev/docs/cookbook/testing/integration/introduction

flutter drive --target=test_driver/app.dart

Enable GitHub Hooks for project

ln -s -f ../../hooks/pre-commit .git/hooks/pre-commit

Dart analysis

dartanalyzer --options analysis_options.yaml .

About

A project similar to anki using SRS system to learn


Languages

Language:Dart 98.1%Language:Ruby 1.2%Language:Shell 0.4%Language:Swift 0.1%Language:Kotlin 0.1%Language:Objective-C 0.0%