DICE is a platform for institutions to issue certificates and students to manage their certificates. It uses web3 for issueing, managing and verifying credentials.
This is a monorepo of the whole application. Run these commands from the root directory
pnpm i
- Create a file named
dev.db
inside the folder/packages/dice-webapp/prisma
(on same folder asschema.prisma
) - Then run this command
pnpm run webapp:prisma:migrate
- If you get the prompt of all data being lost, go through it by pressing
y
- Delete the migrations folder created inside
/packages/dice-webapp/prisma
(In this project we don't version control the migrations)
- Set the environment variables like .env.example to .env file
- Then run this command
pnpm run webapp:dev
pnpm run contract:deploy
For more commands go through the package.json in root and for relevant packages too.