Skip to content

Commit

Permalink
README.md: Add instructions for creating ~/my-release-key.jks and ./k…
Browse files Browse the repository at this point in the history
…ey.properties files
  • Loading branch information
elimisteve committed May 26, 2024
1 parent 28f3d43 commit 4df8d24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ migrate_working_dir/
.pub-cache/
.pub/
/build/
/key.properties

# Symbolication related
app.*.symbols
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ Welcome to the Noa app repository! Built using Flutter, this repository also ser

1. Rename `.env.template` to `.env` and populate it with your own Google O-auth client IDs if desired

1. Create a keystore

```sh
keytool -genkey -v -keystore ~/my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-key-alias
```

1. Create `key.properties` file. Run this command from the project root (`noa-flutter`), replacing the `storePassword`, `keyPassword`, and `storeFile` values with your own

```sh
echo 'storePassword=brilliantlabs
keyPassword=brilliantlabs
keyAlias=my-key-alias
storeFile=/home/user/my-release-key.jks' > key.properties
```

1. Connect your phone and run the app in release mode

```sh
Expand Down

0 comments on commit 4df8d24

Please sign in to comment.