Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: Add instructions for creating ~/my-release-key.jks and ./key.properties files #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be ... > Android/key.properties, but the rest is correct.

Good luck with your startup.

```

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

```sh
Expand Down