From 52727923e23112ba61e3a25f423afe121721bf5f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 7 Dec 2021 21:41:43 +0000 Subject: [PATCH] --- docs/8.0/ayanova/docs/ops-install-linux.md | 5 ++++- server/AyaNova/biz/ReportBiz.cs | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/8.0/ayanova/docs/ops-install-linux.md b/docs/8.0/ayanova/docs/ops-install-linux.md index d8f036ca..49ab109f 100644 --- a/docs/8.0/ayanova/docs/ops-install-linux.md +++ b/docs/8.0/ayanova/docs/ops-install-linux.md @@ -13,9 +13,12 @@ todo: report rendering doesn't work in this config as it's not docker or probe for it and download if not installed like windows? would that conflict with docker deploy though? hmmm... todo: for some reason user files path is blank in server settings under ops in ayanova app on linux desktop when using the single data path folder, check in windows - +todo: distribute linux distros in zip and versioned, separate for docker and for barmetal as need config.json in latter case but not in docker + rejig the build so it's output to a single folder since the build is the same for docker or baremetal + then copy the necessary files and archive each into a final ready to upload archive in installs output or wherever but consolidated to single folder for easy upload of all installs single standalone ubuntu desktop + todo: put running on desktop image at top here Where it's at: working in all respects except for report rendering need to re-code that shit SYSTEM REQUIREMENTS NOTE: painfully slow with 1gb, probably needs 2gb to work properly diff --git a/server/AyaNova/biz/ReportBiz.cs b/server/AyaNova/biz/ReportBiz.cs index ccc3317d..18762d7b 100644 --- a/server/AyaNova/biz/ReportBiz.cs +++ b/server/AyaNova/biz/ReportBiz.cs @@ -460,6 +460,13 @@ namespace AyaNova.Biz var lo = new LaunchOptions { Headless = true }; + + +//TODO: this needs to be changed to a config variable to trigger automatically downloading chromium and in docker distro set it to false +//so maybe what is needed is to specify chromium executable path and if not set then it attempts a download automatically +//that would cover many scenarios beyond docker / linux desktop + + bool isWindows = System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Windows); if (!isWindows) {