Anyone have experience using graphcool cloud for b...
# orm-help
s
Anyone have experience using graphcool cloud for both staging/dev and prod? Wondering the best way to get the data pushed from staging > prod.
n
There is no automated approach to this 🙂 You basically have to apply the changes bit by bit
I'd suggest testing things first in a staging environment 🙂 you can also consider doing blue/green deployments
s
When you say staging environment, you mean local or a separate project? We currently have everything setup as two projects, but that's clearly not the best path.
n
Both local or a separate project work
s
Ok. This works for non-user data, but they will never be in sync. Will have to separate user data from non-mutating data. Ay dios mio.
So Graphcool cloud isn't meant for production environments?
n
Graphcool Cloud is absolutely meant for production environments 🙂
s
So how are other companies handling staging/prod migrations?
n
I just mentioned two possible approaches. This is basically a question of how to do zero downtime deployments in general. (Please stop "Also sending to #general")
s
Wow, alright.
Take care, Nilan
n
blue green deployment is a very common approach: https://docs.cloudfoundry.org/devguide/deploy-apps/blue-green.html 🙂
we're exploring how we can make such workflows simpler, but currently you have to rely on tried and tested best practices out there 🙂