This message was deleted.
# random
s
This message was deleted.
d
We do not release official JAR artifacts, however, it is possible for you to compile it yourself and run the JAR.
i
Can you give me some instructions for creating a JAR?
Is JAR not for java env
I want to run the javascript prisma in node App Engine
d
Yes, JARs are compiled Java programs or libraries. Prisma is written in Scala, which is a JVM-based language.
So what are you referring to - The graphql Yoga / Apollo engine part?
i
Apollo
cloud sql -> prisma -> apollo-server
d
So you want to have the entire stack without docker?
i
Jes
d
Then you’d need to compile Prisma yourself. If you do not have any experience with the JVM, scala, and sbt this might be too complicated as opposed to just running it on docker and be done with it.
i
Maybe the solution is then to run Prisma with docker on app engine (flexible env) and the run apollo-server on some other server
d
That is recommended anyways. Prisma under load takes significant resources, sharing those with more than Prisma on the same machine might lead to issues.
i
Do you have some guide url to get started with a Prisma server and link to cloud sql?
d
The docs are always a good starting point: https://www.prisma.io/docs/. What exactly is Cloud SQL under the hood? MySQL/ PostgreSQL?
i
Cloud SQL is mysql or postgresql in the google cloud platform. I want to use it with mysql
👌 1
If prisma server is a application of Scala does this also mean that the server to run prisma server should be a scala or java server?
Or can it run also on a node server with docker
Thanks for the time and info dpetrick
d
I think you’re confusing abstractions here. Simplified, a node server is nothing else than a node process running your script files, as much as a scala server is nothing else than a JVM running JVM bytecode in a separate system process. If you say server, you probably refer to the node process running your code. When I say server, I’m referring to the virtual machine, docker container or whatever you use as your host system.
So no, prisma can not run on your node server, because it requires you to run a different process in whatever form appropriate for you, as it is a different language with a different runtime environment.
If you have a, say, linux box, to run your infrastructure, then yes, prisma can run “on the server” you host your node stuff.
i
👍