mirror of
https://github.com/aljazceru/react-native-pubky.git
synced 2026-02-01 05:04:40 +01:00
docs: update readme.md
This commit is contained in:
16
README.md
16
README.md
@@ -299,14 +299,6 @@ git clone git@github.com:pubky/react-native-pubky.git && cd react-native-pubky &
|
||||
yarn add path/to/react-native-pubky
|
||||
```
|
||||
|
||||
## Update Bindings
|
||||
|
||||
After making changes to any of the Rust files, the bindings will need to be updated. To do this, run the following command:
|
||||
|
||||
```sh
|
||||
npm run update-bindings
|
||||
```
|
||||
|
||||
## Run React Native Example App
|
||||
1. Run Homeserver:
|
||||
```sh
|
||||
@@ -317,6 +309,14 @@ cd rust/pubky/pubky-homeserver && cargo run -- --config=./src/config.toml
|
||||
cd example && yarn install && cd ios && pod install && cd ../ && yarn ios
|
||||
```
|
||||
|
||||
## Update Bindings
|
||||
|
||||
After making changes to any of the Rust files, the bindings will need to be updated. To do this, run the following command:
|
||||
|
||||
```sh
|
||||
npm run update-bindings
|
||||
```
|
||||
|
||||
Finally, ensure that `PubkyModule.kt`, `Pubky.swift`, `Pubky.mm` & `src/index.tsx` are updated accordingly based on the changes made to the Rust files.
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user