Switch windows service to production



  • Hi,

    I have installed jsreport on a windows 2012 server. Folder c:\jsreport. I also installed the windows service and it works.

    In cmd I can set the NODE_ENV to production and start the jsreport-server. And the server starts in production mode.

    How do I have to configure production mode for the windows service?

    Thanks
    Reto E.



  • I think I found a solution.

    1. uninstalled service "jsreport win-uninstall"
    2. set production "set NODE_ENV=production"
      3 . install service "jsreport win-install"

    Now the service runs in production mode.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.