HOWTO build a package, upload it and install it in a Cloud Server
by
, 2021-11-28 at 21:22 (13391 Views)
Lianja Package Files (.lpk) are used to package up Apps, databases and Library files to transfer to another Lianja App Builder installation.
They can also be installed/updated automatically by the Lianja Cloud Server.
1. Build a package
You build a Lianja package file (.lpk) in the "Deploy" workspace.
Note: If you have a project open then the files contained within the project will already be selected. All you need to do is click "Edit" and "Add Files" then "Save".
2. Upload the package to your server using the Lianja Admin Console.
Note that the packages you have built will be in the c:\Lianja\packages directory on windows, /opt/lianja/packages on linux and /Users/Shared/Lianja/packages on MacOS.
3. Install the package using the Lianja Admin console
Note: If you have specified the DB_WWWAUTOUPDATE environment variable as ON then your package will be automatically installed/upgraded when a user logs in.
On Windows this can be enabled in the Lianja Server Manager
On Linux set the environment variable in /etc/lianja.d/lianja.conf
See Documentation:
https://www.lianja.com/doc/index.php...ment_Variables