prisma / prisma-content-feedback

Feedback for documentation, articles, tutorials, examples, ...
https://www.prisma.io/docs/
6 stars 2 forks source link

Deploy Prisma to DigitalOcean - two fixes #27

Open vjsingh opened 5 years ago

vjsingh commented 5 years ago

Article Title (if relevant) Deploy Prisma to DigitalOcean https://www.prisma.io/tutorials/deploy-prisma-to-digitalocean-ct12/

In Step 5 it says “Enter the IP of the DigitalOcean Droplet”.

I believe what actually needs to be put in is http://:4466. I tried just putting in the IP and got ‘ERR_INVALID_URL’: Invalid URL: … when doing “prisma deploy”

@nikolasburk

EDIT: Found another problem I think. I had to add "PRISMA_MANAGEMENT_API_SECRET=my-secret-secret" in a .env file in my root folder. Even though I had specified the secret as "secret: ..." in my prisma.yml. Is there a reason this can't be picked up from the prisma.yml?

This was actually a great guide that I think has everything and is very concise - https://gist.github.com/ivorpad/f39bd6c0e659f8d2991b48f1c8198113

dakshshah96 commented 5 years ago

I just faced the same issue today and reading this helped me.

Would be great if this change can be made live!