How to deployer app node red in local computer

Rather than scheduled tasks or user executed scripts, you can run node-red as a proper service using something like nssm....