Noheva visitor UI project
dart pub global activate rps --version 0.7.0-dev.6
Used for running scrips in pubspec.yaml
For example run code generation with
rps gen
flutter pub run build_runner build --delete-conflicting-outputs
- Create the table model in
lib/database/models/tables
- Run
rps gen
to generate the table definition - Append it into
@DriftDatabase
annotation withinlib/database/database.dart
- Bump the schema version in
lib/database/database.dart
- Create new migrations.
Proceed with the following steps to get started:
- Install Hashicorp vault CLI by referencing the official documentation here: Hashicorp Vault CLI Install
- Install withhcv helper script (https://github.com/Metatavu/development-scripts/blob/master/hcv/withhcv.sh)
- Run
withhcv vault kv get -format json -mount="digimatka/noheva/local/kv" "build-noheva-visitor-ui"|jq -r '.data.data | to_entries[] | "\(.key)=\(.value)"' > .env