Skip to content

Commit

Permalink
feat: new .env into app
Browse files Browse the repository at this point in the history
  • Loading branch information
codaisa committed Jun 5, 2024
1 parent 910d20d commit 4c4ace3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/code/deploy-app/navigating.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The process for generating a publishing key varies by operating system. Below ar

On Windows, run `keytool` from `C:\Program Files\Java\jdkx.x.x_x\bin` as an administrator:

```bash
````bash
keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

This command will prompt you for keystore and key passwords and Distinguished Name fields for your key, generating the keystore as my-upload-key.keystore.
Expand All @@ -27,7 +27,7 @@ On macOS, locate your JDK bin folder using:

```bash
/usr/libexec/java_home
```
````
It will output the directory of the JDK, which will look something like this:
Expand Down Expand Up @@ -89,7 +89,17 @@ android {
## Generating the first release AAB
Run the following command in a terminal:
Before generating your first AAB, it is extremely important to define the application's environment variables. All these variables should be defined in a file created at the root named ".env".
Currently, each repository has a file called .env.example. Create a copy of this file named ".env" and modify the value of each variable to match your environment's settings.
Example:
```bash
API_URL=https://www.myawensomeapi.com.br/
```
After the creation of this file run the following command in a terminal:
```bash
npx react-native build-android --mode=release
Expand Down

0 comments on commit 4c4ace3

Please sign in to comment.