Skip to content

Commit

Permalink
docs: update BUILD.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uwla authored and limpbrains committed Jan 30, 2024
1 parent 40f0d74 commit a57a4d4
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,33 @@ git clone [email protected]:synonymdev/bitkit.git && cd bitkit

2. Switch Node version

Switch to the Node.js version defined in `.nvmrc`. If `nvm` (or similiar) is installed on your system you can run `nvm use`.
Switch to the Node.js version defined in `.nvmrc`. If `nvm` (or similar) is installed on your system you can run `nvm use`.

3. Install dependencies

```shell
yarn install
```

4. Setup iOS or Android dependencies
## Build

```shell
yarn setup-ios
```
### iOS

or
For iOS: Open the `ios` folder in Xcode to build the project.

```shell
yarn setup-android
```
### Android

## Build
For Android: `yarn bundle`.

For iOS: Open the `ios` folder in Xcode to build the project.
Moreover, to build the Android APK, it is necessary to configure a signing store to sign
the apk, as explained by [React Docs](https://reactnative.dev/docs/signed-apk-android).

It is recommend to use the already presented `debug.store` in `android/app`.
Add the following lines to `~/.gradle/gradle.properties`:

For Android: `yarn bundle`
```shell
BITKIT_UPLOAD_STORE_FILE=debug.keystore
BITKIT_UPLOAD_STORE_PASSWORD=android
BITKIT_UPLOAD_KEY_ALIAS=androiddebugkey
BITKIT_UPLOAD_KEY_PASSWORD=android
```

0 comments on commit a57a4d4

Please sign in to comment.