This commit is contained in:
2021-12-07 23:15:50 +00:00
parent 52727923e2
commit 1706b5fb8b
10 changed files with 77 additions and 38 deletions

View File

@@ -0,0 +1,33 @@
# REPORT RENDER BROWSER PATH SETTING
This optional setting sets the _full_ path to the Chromium web browser executable that is used by AyaNova to render reports.
If not set, AyaNova will attempt to automatically download a copy of Chromium to a `.local-chromium` folder under the AyaNova executable folder on first report rendering.
This setting should be used only in cases where it's more appropriate to use a previously installed Chromium browser installation.
## Default
Default is empty / not set.
## Overriding
AyaNova expects the report rendering browser path to be provided by an environment variable or command line parameter named
`AYANOVA_REPORT_RENDER_BROWSER_PATH`
The value specified should be a string containing a fully qualified file path to the pg_dump utility.
Example command line parameter
`ayanova.exe --AYANOVA_REPORT_RENDER_BROWSER_PATH="/snap/chromium/current/bin/chromium.desktop/chrome.exe"` )
Example environment variable
Windows
`set "AYANOVA_REPORT_RENDER_BROWSER_PATH=o C:\Program Files\Chromium\chrome.exe"`
Linux / MAC
`export AYANOVA_REPORT_RENDER_BROWSER_PATH="/snap/chromium/current/bin/chromium.desktop/chrome.exe"`