зеркало из https://github.com/Azure/iisnode.git
1.3 KiB
1.3 KiB
Hosting node.js applications in IIS on Windows
Prerequisites
- Windows
- IIS 7.x with IIS Management Tools
- Latest node.exe Windows build from nodejs.org saved to %systemdrive%\node directory
- Visual Studio C++ Express (building iisnode only)
- IIS 7 header files from Windows SDK (building iisnode only)
- your favorite text editor; WebMatrix is recommended (developing node.js apps on Windows only)
Building
For 32 bit Windows:
msbuild /p:Platform=Win32 src\iisnode\iisnode.sln
For 64 bit Windows:
msbuild /p:Platform=x64 src\iisnode\iisnode.sln
Installing for IIS 7.x after build
build\debug\%PROCESSOR_ARCHITECTURE%\install.bat
Installing for IIS 7.x from a download
- Download and unzip desired build for 32 or 64 bit Windows
- call install.bat
Installing for IIS Express/WebMatrix
Samples
http://localhost/node
Resources & documentation