- Install Protobuf Compiler (protoc)
- Install Redis
npm i- Copy
.env.exampleto.envand fill out appropiate values - Run
npx prisma generateto create/update the prisma client class used in the code git submodule update --init --recursiveto update submodulesnpm run build:protos:(mac/win)to generate TypeScript from .protoredis-serverin a new terminal (use WSL on Windows) to start Redis servernpm run dev
- If connecting to new db run
npx prisma migrate deployto apply migration files - If changes are made to
schema.prisma- Run
npx prisma migrate dev --name "{...}"to create and apply new migration file - Run
npx prisma generateto create/update the prisma client class used in the code
- Run
redis-serverin a new terminal (use WSL on Windows) to start Redis serverredis-clito connect to Redis instanceshutdownto stop instanceflushdbto clean DB
npm run testnpm run test:covto show