Showing posts with label node. Show all posts
Showing posts with label node. Show all posts
Monday, March 05, 2012
Saturday, January 14, 2012
How to host node as a service, just like IIS in Windows?
Installing node as a service will help us as below.
Steps:
- Run in the background
- Restart automatically if it crashes
Steps:
- Install NSSM (non-sucking service manager). This tool lets you host a normal.exe as a Windows service.
- Go to command prompt.
- Execute nssm.exe install node-service c:\nodejs-path\node.exe c:\code\sample\server.js
- Execute net start node-service
For more information see here.
Friday, December 30, 2011
How to install/uninstall node modules in windows 7?
To install node module
- Start command prompt as administrator. For help see this link.
- Go to the folder where nodejs installed. Example: CD "C:\Program Files\nodejs\"
- Again go to the folder of node_modules under npm. Example: CD "node_modules\npm\node_modules"
- Execute command "npm install http-proxy"
To uninstall node module
- Follow Step 1 to 3 of above.
- Execute command "npm uninstall http-proxy"
Third Party Modules of Node.js
Subscribe to:
Posts (Atom)