mirror of
https://github.com/0xPARC/zkmessage.xyz.git
synced 2026-01-09 14:28:03 -05:00
481 B
481 B
zk-group-sigs-server
npm i
cp node_modules/snarkjs/build/snarkjs.min.js public/.
npm run dev
You also want to add two (sorry) env files both containing
DATABASE_URL="file:/path/to/repo/database.sqlite"
in .env.local AND prisma/.env.
Lastly initialize an empty database with
npx prisma generate
npx prisma db push
Whenever the prisma schema changes you need to re-generate the database stuff with
npx prisma generate
npx prisma db push