-
git clone ...
-
open two terminals
-
in one terminal
cd face_recognition
-
create a virtual python environment
-
pip install -r requirements.txt
-
in the other terminal
cd gnark
-
create a .env inside gnark directory for your
DATABASE_URL=
,PROVING_KEY_PATH=
,VERIFYING_KEY_PATH=
-
create the postgres database
brew install psql-17
CREATE DATABASE my_project_db;
\c my_project_db
- create this table
- put
postgres://yourUsername:yourPassword@localhost:yourPort/yourDB
as theDATABASE_URL=
CREATE TABLE IF NOT EXISTS public.zetable ( username TEXT NOT NULL, proof BYTEA, helper_data JSONB, CONSTRAINT zetable_username_key UNIQUE (username) );
cd gnark
go run .
cd face_recognition
python src/options.py enroll
for enrollment, then write a usernamepython src/options.py verify
for verification, and write the same username
I own both github accounts but misconfigured my global git config file.