mirror of
https://github.com/selfxyz/self.git
synced 2026-02-07 21:06:09 -05:00
fix mkdir in scripts
This commit is contained in:
@@ -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:
|
||||
```
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user