Wild question, but what would be the kind of thing...
# orm-help
e
Wild question, but what would be the kind of things one would need to do to run Prisma on an Android phone? I had a similar question about Raspberry-Pi like device, but didn't get any new response from @nilan after the initial discussion. I would really like to have Prisma on ARM processors, and they come in varieties of form. My phone now has 4GB of RAM, and that's not uncommon, and has plenty of space to host a full-blown server.
w
Why on earth would you want to host a prisma instance on your phone ? 🙄
e
It's all about convenience ... Wouldn't it be cool to not have to rely on an internet and have the app running locally? Serve the app with the convenience of your compact phone (more compact than any Laptop would be) ... And don't forget that Android is not always phone, they come in many different forms now. Even *pi devices can run Android these days.
l
My understanding is it’s just a matter of spinning up docker. Figure out how to run docker and you’ll have your answer.
e
Alright, Docker on ARM is not something that I have experience with; but I'd love to get my hands on that as soon as I can. Thanks for @lawjolla.
l
I don’t have experience with any Docker and I try to keep it that way. :) but that’s the “promise” of containers... load the Docker runtime and it’ll run anywhere, CPU/memory allowing
e
But Docker for x86 and ARM CPUs are not the same. AFAK, you need different images prepared for the target ARM arch.
l
Interesting, did not know that. Kinda shoots the whole premise in the foot. 🙂
e
Yeah... what I'd be interested in doing, is how can I manually run the main Prisma serve (and its components) on any ARM device. I know there is JVM on ARM, there is MySQL, and there is nodeJS. But putting it all together is, I guess, what I'd need to know. @nilan: any direction? links?
n
I don't think anyone has gone down this route, but all insights I can provide have already been mentioned 🙂 Would be nice to hear back from your learnings!