Replies: 1 comment
-
It looks like pm2 starts up with this:
I guess I just need to study the Next.js structure a bit more. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a nodejs-noob, I have the whole thing running and deployed to AWS EC2 and ECS using CodePipeline, so this thing definitely works easy, but us newbs also want to know how it works, and implement auto-start with a package like PM2 or Upstart or whatever a Nodejs Pro would suggest.
It would be nice, to smooth the already well-paved onramp for newbies, to say something about how the "index.js" in the
packages.json
starts the project. I don't see an "index.js" in the root, and tools like PM2 require a file. I also have questions about where the "next dev"-type scripts are, but that's secondary.Would it be possible to mention something about the initialization of the app and how the "index.js" works or whatever the real entry point is?
Beta Was this translation helpful? Give feedback.
All reactions