docs: update readme.md

This commit is contained in:
coreyphillips
2024-10-11 16:08:49 -04:00
parent ba9e143739
commit ffa1ac95c2

View File

@@ -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