1.1 KiB
1.1 KiB
Windows Deployment Using IIS
The following are the steps to deploy export server on IIS using iisnode. Most steps are from iisnode README
- Install rewrite module
- Install latest node.js for windows (LTS is recommended)
- Install latest iisnode release
- Setup iisnode samples, from the administrative command prompt call
%programfiles%\iisnode\setupsamples.bat - Samples will create a virtual directory
nodeand will point to%programfiles%\iisnode\www - Empty www folder and then checkout export server in it.
- In command prompt, change directory to
wwwand runnpm install - Copy
web.configfrom from the projectiisnodedirectory towww - Test export server work by opening
http://localhost/node/export, it should showBAD REQUEST - Delete all files and folders in
wwwexcept forexport.js,web.config, andnode_modules. The app will createiisnodedirectory which contains the logs in addition to three logs files inwww.