fix mkdir in scripts

This commit is contained in:
0xturboblitz
2024-01-24 22:45:58 +01:00
parent 514cdf2142
commit 91e12e7de4
3 changed files with 11 additions and 5 deletions

View File

@@ -3,8 +3,10 @@
### Requirements
Install `nodejs v18`, [circom](https://docs.circom.io/) and [snarkjs](https://github.com/iden3/snarkjs)
For android, install java and the android sdk
For ios, install [cocoapods](https://cocoapods.org/)
For android, install java, android studio and the android sdk
For ios, install Xcode and [cocoapods](https://cocoapods.org/)
### Installation
@@ -58,8 +60,10 @@ yarn start
```
Then press `a` for android or `i` for iOS
If you want to see the logs and have a better ios developer exprience, open `/ios` in Xcode and launch the app from there instead
To see the android logs you'll have to use the Android Studio Logcat
If you want to see the logs and have a better ios developer experience, open `/ios` in Xcode and launch the app from there instead.
Currently, proof generation seems to fail sometimes with the react native server, so prefer using Xcode instead.
To see the android logs you'll have to use the Android Studio Logcat.
To export an apk:
```

View File

@@ -1,5 +1,6 @@
mkdir -p ark-circom-passport/passport
cp ../circuits/build/proof_of_passport_final.zkey ark-circom-passport/passport/
echo "proof_of_passport_final.zkey to ark-circom-passport"
echo "copied proof_of_passport_final.zkey to ark-circom-passport"
ARCHITECTURE="aarch64-linux-android"

View File

@@ -1,3 +1,4 @@
mkdir -p ../circuits/build
cd ../circuits/build
wget https://current-pop-zkey.s3.eu-north-1.amazonaws.com/proof_of_passport_final.zkey # ios
cd ../../app