This commit is contained in:
@@ -2,14 +2,24 @@
|
||||
|
||||
GET WORKING MANUALLY THEN CAN DO DOCS ONCE HAVE PROCESS HERE
|
||||
(expand the instructions on stack overflow pages and link to the pg and asp.net core install pages)
|
||||
SPLIT THIS OUT INTO MULTIPLE PAGES LIKE WINDOWS
|
||||
|
||||
|
||||
|
||||
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: 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
|
||||
|
||||
|
||||
//#################################### LINUX DESKTOP ################################
|
||||
|
||||
todo: error rendering needs fix:
|
||||
|
||||
1638924788467|API error: status=400, statusText=Bad Request, url=http://localhost:7575/api/v8.0/report/render
|
||||
1638924788636|Vue error:
|
||||
2030 - Invalid operation
|
||||
Failed to launch browser! [1207/165308.271638:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
|
||||
|
||||
It needs this command line lo.Args = new string[] { $"--disable-dev-shm-usage --no-sandbox --disable-gpu --no-zygote " };
|
||||
I think the best thing to do is make it yet another server config because it's super likely that it will need to be tweaked in future, best to make it just settable and default it to above
|
||||
|
||||
|
||||
|
||||
|
||||
Linux DESKTOP standalone ubuntu desktop
|
||||
todo: put running on desktop image at top here
|
||||
SYSTEM REQUIREMENTS NOTE: painfully slow with 1gb, probably needs 2gb to work properly
|
||||
@@ -31,20 +41,34 @@ Linux DESKTOP standalone ubuntu desktop
|
||||
|
||||
|
||||
|
||||
- Make AyaNova data folder: ~/.ayanova-data
|
||||
- Make AyaNova AYANOVA_DATA_PATH folder, default expected is: ~/.ayanova-data
|
||||
sudo mkdir ~/.ayanova-data
|
||||
Note: You don't have to use this path but if you change it then this will be required to be set in a config file in a later step
|
||||
|
||||
- download ayanova linux x64 archive
|
||||
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
|
||||
set data folder location
|
||||
~/.ayanova-data
|
||||
- Set permissions on AyaNova:
|
||||
chmod 777 ./AyaNova
|
||||
start AyaNova:
|
||||
./AyaNova
|
||||
|
||||
- Make program folder:
|
||||
sudo mkdir /usr/bin/ayanova
|
||||
|
||||
- copy archive to program folder
|
||||
sudo cp ayanova-linux-x64-desktop.zip /usr/bin/ayanova/
|
||||
|
||||
- Unzip the archive into an appropriate folder (/usr/bin/ayanova)
|
||||
sudo unzip ayanova-linux-x64-desktop.zip
|
||||
|
||||
- Set permissions on AyaNova:
|
||||
sudo chmod 777 ./AyaNova
|
||||
|
||||
- edit config.json
|
||||
sudo nano config.json
|
||||
change "mypasswordforpostgres" in AYANOVA_DB_CONNECTION to the password set for postgres above
|
||||
set AYANOVA_DATA_PATH location if not using the default which is: ~/.ayanova-data
|
||||
|
||||
start AyaNova:
|
||||
sudo ./AyaNova
|
||||
|
||||
Verify it's working
|
||||
- open browser and navigate to http://localhost:7575/login (or whatever port was enabled)
|
||||
|
||||
|
||||
@@ -57,5 +81,10 @@ nginx lan ubuntu
|
||||
internet
|
||||
|
||||
|
||||
###############################################################
|
||||
//DOCKER
|
||||
https://www.ayanova.com/Downloads/v8/ayanova-linux-docker-x64-server.zip
|
||||
https://www.ayanova.com/Downloads/v8/ayanova-linux-docker-x64-server.zip
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user