Hey, this isn’t a rant, I’m just legitimately conf...
# orm-help
e
Hey, this isn’t a rant, I’m just legitimately confused. The documentation has so many starting points. Using docker, using a boilerplate, etc. Neither seem to be complete. The docker tutorial, for example, says the next step is to “build a GraphQL server”, but links to the same page 😕. Every tutorial has a different starting point without explaining the nuances. I’ve been trying to understand the past 2 days how to deploy a service to prisma cloud. Does
prisma deploy
deploy there? Where do all of the tutorials fit in with the prisma cloud service? What are the servers for in prisma cloud? Do I need to add my own? Can I use docker with prisma cloud? Should I use docker at all? what about
node-basic
and
node-advanced
? It seems there is a whole lot of background knowledge that is assumed in so much of this ecosystem. I’m yet to experience the simplicity advertised on the homepage of prisma.io. Its just all very confusing, imo.
👍 1
j
Agreed! These guys are very responsive to emails and the forum so Ive no idea why the docs are in such a sorry state. I can let you know my steps for what its worth, but I haven’t got it all figured out either. Clone the repo from git. Ignore the docs and dont use the “graphql create” command as this didnt work for me. https://github.com/graphql-boilerplates/react-fullstack-graphql Make a temporary folder cd to it in your terminal. Enter “prisma init”. This should create a docker-compose file, put this file into the server/database folder of the repo you cloned in the previous step. Now you can “docker compose up” from that folder to launch a server with an sql database with docker. Now go to the server/src directory and enter “npm run debug” to start your business logic server (yes you need 2 servers). Then run “npm run start” from the project root to start React.
👍 3
Note that you need the right settings in your .env file but I cant remember if the prisma init command creates these for you or not. Good luck!
👍 1
s
Hi @eugenistoc! I 100% agree with all you said and wanted to make sure to let you know that we’re fully aware of this. We’re heavily working on improvements which should go live within the next few weeks. In the meanwhile people reach out to us directly in case you’re stuck anywhere. I really appreciate your candid feedback! 🙏
👍 2
j
@eugenistoc there is also a @wesbos course coming out soonish, his stuff is always great.
d
I’ve been in a very similar position recently. I’ve spent 2 whole days trying to figure stuff out and I’ve been going around in circles. It’s been so frustrating, especially as I’ve been so enthusiastic about using Prisma (and getting going with GraphQL). It’s good to see that the devs are aware of this.
j
Im also glad they’re on it, but a few weeks is still a while to be waiting if you’re blocked. It would be great if they released a walk through guide to Medium or similar in the interim.