This commit is contained in:
2021-12-08 00:33:06 +00:00
parent 03bd6692dd
commit a45468a402

View File

@@ -5,25 +5,13 @@ GET WORKING MANUALLY THEN CAN DO DOCS ONCE HAVE PROCESS HERE
todo: need default config.json file included with linux non-docker archive distribution
(docker dist doesn't need or should have it)
todo: report rendering doesn't work in this config as it's not docker
Definitely doesn't find it if installed separately
will maybe need to add a config value to chromium engine folder
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
todo: Docker config add path to chromium in env variable:
lo.ExecutablePath = ServerBootConfig.AYANOVA_REPORT_RENDER_BROWSER_PATH;//"/usr/bin/chromium-browser";//this is the default path for docker based alpine dist
single standalone ubuntu desktop
//#################################### LINUX DESKTOP ################################
Linux DESKTOP 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
- Install ASP.NET CORE runtime using this guide: https://docs.microsoft.com/en-us/dotnet/core/install/linux
@@ -34,11 +22,19 @@ single standalone ubuntu desktop
as it will auto-update and be the most recent secure version
- Set postgres password
https://stackoverflow.com/a/14588440
test@test-VirtualBox:~$ sudo -u postgres psql
psql (14.1 (Ubuntu 14.1-1.pgdg21.10+1))
Type "help" for help.
postgres=# ALTER USER postgres PASSWORD 'letmein';
ALTER ROLE
postgres-# \q
- Make AyaNova data folder: ~/.ayanova-data
- download ayanova linux x64 archive
https://www.ayanova.com/Downloads/v8/ayanova-linux-x64-server.zip
https://www.ayanova.com/Downloads/v8/ayanova-linux-x64-desktop.zip
- Unzip the archive into an appropriate folder (/usr/bin/ayanova)
- edit config.json
set postgres password