Simple question about startup
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Everything is working fine and I'm running 3 node apps using PM2 on a server. I have NSSM set them up as services and 3 IIS sites to make them accessible. I am unclear on one aspect of the setup and I always (probably) handle this wrong.
When I update the code in the node app what needs to be restarted? And should I stop things before updating the files?
I usually stop the IIS site, then stop the service then stop PM2. Then update the repo then start PM2, start the service and start the IIS site. Is this correct and/or needed? Thanks for PM2 BTW.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names a deployment setup using Node.js, PM2, NSSM, and IIS but does not identify any repository files or tests. First review the project's deployment or operations documentation, if present, and determine whether it explains what must be restarted when updating an app; done would be a clear, supported update procedure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- devops
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100