Skip to content

📜 Decentralized Immutable Credential Ecosystem

Notifications You must be signed in to change notification settings

ajmalmohad/dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DICE - Decentralized Immutable Credential Ecosystem

DICE is a platform for institutions to issue certificates and students to manage their certificates. It uses web3 for issueing, managing and verifying credentials.

How to run

This is a monorepo of the whole application. Run these commands from the root directory

1. Install all dependencies

pnpm i

2. Setup the database and do migrations

  • Create a file named dev.db inside the folder /packages/dice-webapp/prisma (on same folder as schema.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)

3. To run webapp

  • Set the environment variables like .env.example to .env file
  • Then run this command
pnpm run webapp:dev

4. To deploy contract

pnpm run contract:deploy

For more commands go through the package.json in root and for relevant packages too.

About

📜 Decentralized Immutable Credential Ecosystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published