How to use Graphql-Mesh with PM2 #2815
Unanswered
bastianhilton
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, with PM2 we can run almost any type of application forever, but i'm lost on how to do that with Graphql-Mesh.
this is a sample from my project, just curious on how to actually use Graphql-mesh in my ecosystem.config.js file:
module.exports = {
"apps": [
{
"name": "example",
"cwd": "../example",
"args": ["runserver", "0.0.0.0:8000"],
"script": "manage.py",
"exec_mode": "fork",
"exec_interpreter": "python"
},
/{
"name": "graphqlmesh",
"cwd": "../example",
"args": ["yarn", "mesh", "0.0.0.0:4000"],
"script": "dev",
}/
]
}
Beta Was this translation helpful? Give feedback.
All reactions