When running the GRE daemon on a different machine than the DVM,
and using any output type aside from SVG running against the Genero Desktop Client, you must set up
the environment before you can preview reports.
-
Start the Web server service by invoking the command grehttpd, which is
located at $GREDIR/bin/.
The grehttpd command has the following options:
-p port
, where port is the port number.
The default port is 8080.
-q
activates the Web server service in quiet mode.
-d directory
, where directory specifies
the Web root. There may be several. If nothing is specified, then the current working directory
(".") is taken as the Web root.
-license
prints the NanoHTTPD license.
Note:
The Genero Report Engine ships with this minimal Web server. However, any
other web server capable of serving static files can be used.
-
Set the GREOUTPUTDIR environment variable to the specified Web root
directory in the environment of the GRE daemon (greportwriter -l).