From ffa1ac95c22fedcb56fa5e4dba69c1d3346b2326 Mon Sep 17 00:00:00 2001 From: coreyphillips Date: Fri, 11 Oct 2024 16:08:49 -0400 Subject: [PATCH] docs: update readme.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 67b83ca..d9d1ffe 100644 --- a/README.md +++ b/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