Last active
August 29, 2015 14:16
-
-
Save primaryobjects/ecce2511b5f44d1cda6d to your computer and use it in GitHub Desktop.
4 easy steps to deploy a node.js web site to a Windows server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download and install node.js at http://nodejs.org/download/ | |
2. Copy your node.js project files to C:\Users\YOUR_USERNAME\Documents\SITENAME | |
3. Open Windows Firewall port 80. | |
4. Open Windows Powershell and type: | |
$env:PORT = 80 | |
cd C:\Users\YOUR_USERNAME\Documents\SITENAME | |
npm install | |
node app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment