Hi all, can you suggest what to read (tutorial) to...
# random
n
Hi all, can you suggest what to read (tutorial) to install graph cool locally with docker?
i
npm i -g graphcool
And then just download Docker for whatever OS you are on
That’s it!
t
How do you know if you're client is connected to your local instance or the cloud instance of your cluster? And also how do you do a playground on the local running docker instance?
i
You get different endpoints
So you would just pass a specific endpoint to Apollo/Relay. You could also conditionally check if your
NODE_ENV
is in
production
, which would use a production URI, otherwise, would use a local URI.
Same goes for your playground. Just enter the URI in the browser and you will be on that instance’s playground
n
@iamclaytonray Thank you. the graph and docker are both new for me
i
Sure thing!