Please install the following
- The first step is to install Rust.
- Install Node
- Install JDK from Adoptium or from azul or from Oracle
- Install Clojure. See more details on ClojureScript here
- Setup the development enviroment for React Native
One time install:
cargo install just
cargo install cargo-ndk
Install the node dependencies.This is done one time
cd mobile
yarn install
cd ios
pod install ( or arch -x86_64 pod install)
Build the Rust Api lib for iOS simulator.
cd mobile/db-service-ffi
just bcis (or just cp-ios-ffi-fat-sim-debug-lib-src)
# This builds and copies the rust lib binary and the Swift wrapper code to xcode project
Build the clojurecript bundle
cd mobile
just clj-main-build
Start the react native metro watcher
cd mobile
yarn start or npx react-native start
Open another terminal and do the following to launch the app in an iOS simulator
cd mobile
just rni or (npx react-native run-ios)
If this is not yet done once, install the node dependencies.
cd mobile
yarn install
Build the Rust Api lib for android emulator.
cd mobile/db-service-ffi
just bca (just cp-android-ffi-lib-src)
# This builds and copies the rust lib binary and the Kotlin wrapper code to android project
Build the clojurecript bundle
cd mobile
just clj-main-build
Start the react native metro watcher
cd mobile
yarn start or npx react-native start
Open another terminal and do the following to launch the app in an iOS simulator
cd mobile
just rna or (npx react-native run-android)
Comming soon