Running in Azure App Service
-
What are the steps please to run this inside an Azure App service if I do not want to use docker? I'm interested in running jsreport in an Azure windows app service.
Thanks
Josh
-
I got it working... Here's some tips for anyone else
- run these step in console from wwwroot folder -> https://jsreport.net/on-prem
- put process.json in wwwroot:
{ "name" : "worker", "script" : "./server.js", "instances" : 1, "merge_logs" : true, "log_date_format" : "YYYY-MM-DD HH:mm Z", "watch": true, "watch_options": { "followSymlinks": true, "usePolling" : true, "interval" : 5 } }
- put web.config file in wwwroot:
<configuration> <system.webServer> <handlers> <add name="iisnode" path="server.js" verb="*" modules="iisnode" /> </handlers> <rewrite> <rules> <rule name="DynamicContent"> <match url="/*" /> <action type="Rewrite" url="server.js"/> </rule> </rules> </rewrite> </system.webServer> </configuration>```
-
thanks for sharing the steps!!
-
Can you add authentication and connectionstrings here ?
-
- Is Custom Fonts Rendering is working alright in this method ?