Hey guys! I had initialize prisma project made cha...
# orm-help
r
Hey guys! I had initialize prisma project made changes and then run prisma deploy my server started correctly and provided urls. Now i open my pc again and i dont know how do i restart my prisma server without running prisma deploy. Can anyone help.
r
Hey Rizwan 👋 Are you using the local docker setup or Prisma Cloud?
r
I used docker toolbox
r
then running
docker-compose up -d
should start the server.
r
Thanksss🙂. Can you please explain what exactly docker-compose up -d do when i run its says pulling prisma(prismagraphql/prisma:1.34)
Also how do i shut the server?
r
It pull the Prisma image (this should happen only once) to start your Prisma setup locally. To shut down the server, use
docker-compose down
r
But when i initialize prisma service at that time also i ran docker-compose up -d before prisma deploy
r
Yes whenever you have to start the server you need to run
docker-compose up -d
r
Okay thanks. And one more thing should the server be running for doing prisma deploy?
r
Yes it is required for
prisma deploy
r
👍👍
Hey when i work on prisma application a virtual machine starts on my pc and when i try to shutdown my pc it shows that virtual interface have some active connections how do i shut virtual machine?