- brew tap prisma/prisma
- brew install prisma
- nav to the code directory
- docker-compose up -d
it's now running and hosting the db via http://localhost:4466
when you make a change, you have to deploy it to prisma and then ask prisma to generate the new mutations and queries:
- make the change in the schema file
- prisma deploy
- prisma generate
to add some seed data to the database
- prisma seed
to wipe the database before adding the seed data
- prisma seed --reset