From 3a45db4445371cf45e9ef1a65fafc3ffc1b12fd1 Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 8 Oct 2025 12:09:25 +0200 Subject: [PATCH] first commit --- README.md | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9219f5 --- /dev/null +++ b/README.md @@ -0,0 +1,90 @@ +## AVES Project Setup + +[link original github](https://github.com/deckerst/aves) + +### Install dependencies + +Before running or building the app, update the dependencies for the desired flavor: +``` +scripts/apply_flavor_play.sh +``` + +To build the project, create a file named `/android/key.properties`. It should contain a reference to a keystore for app signing, and other necessary credentials. See [key_template.properties](https://github.com/deckerst/aves/blob/develop/android/key_template.properties) for the expected keys. + +### To run the app: +``` +./flutterw run -t lib/main_play.dart --flavor play +``` +### To build the app: + +creare file con le tue credenziali file.keystore + +dove YOUR_ALIAS_NAME è il tuo unico alias name + +e YOUR_ALIAS_PWD è la password del tuo alias +```sh +keytool -genkey -v -keystore file.keystore -alias YOUR_ALIAS_NAME -storepass YOUR_ALIAS_PWD -keypass YOUR_ALIAS_PWD -keyalg RSA -validity 36500 +``` +in questo caso ho inserito +```sh +cd android +keytool -genkey -v -keystore file.keystore -alias FabioMich66 -storepass Master66 -keypass Master66 -keyalg RSA -validity 36500 +``` +se non puoi eseguire keytool perchè non è nel path di sistema cercalo usando +```sh +cd / +sudo find -name keytool +``` +compilare il file `/android/key.properties` +``` +nano android/key.properties +``` +questi i miei dati utilizzando il format key_template.properties +``` +storeFile=/Users/fabio/flutter_apps/aves/android/file.keystore +storePassword=Master66 +keyAlias=FabioMich66 +keyPassword=Master66 +googleApiKey= +``` +infine compilare l'apk +``` +./flutterw build apk -t lib/main_play.dart --flavor play +``` + +[Version badge]: https://img.shields.io/github/v/release/deckerst/aves?include_prereleases&sort=semver +[Build badge]: https://img.shields.io/github/actions/workflow/status/deckerst/aves/quality-check.yml?branch=develop + +## Android studio + +caricare il file da github selezionando le mnù a tendina File-New-project from Version Control + +selezionare version control tipo: git + +inserire URL di aves + + https://github.com/deckerst/aves + +flaggare shallow clone with history troncated 1 commits + +aprire la console sulla dir aves appena creata e caricare le dipendenze + +``` +scripts/apply_flavor_izzy.sh +``` +in settings - Languages and Framework - Dart inserire il path + +``` +/home/fabio/flutter/bin/cache/ +``` +e spuntare project aves + +Edit configurations e aggiungere shell script con un nome x es izzi + +poi flaggare script text e inserire + + ./flutterw run -t lib/main_izzy.dart --flavor izzy + +la working directory sarà una cosa così + + /home/fabio/StudioProjects/aves