barrymavin
2013-03-17, 00:08
I've been working on the "App Packager" (deploy an App as a .lpk file) which will be included in the v1.0 Lianja App Builder release.
Lianja packages can be built in the "Deploy" workspace (there's a new icon) in the Lianja App Builder -- "Export as package".
"Export as package" produces a file with a ".lpk" file extension that contains the Apps, Libraries and Databases/tables that are selected in the "Deploy" workspace.
If an .lpk file is uploaded to the Lianja Cloud "Packages" directory (a new directory that will be included in the final release distro) then the package will be auto installed by the Lianja Cloud Server then removed. This provides a very simple method for deploying Apps in the Cloud.
You can also email a .lpk package file to members of your team and run "Install package" from the App Builder "Apps" workspace to share apps between each other.
This is the preferred way to share OSS Apps from LianjaX, LianjaED and LianjaNPO as all you need to do is download the .lpk file and run "Install package".
If the App you are packaging up includes a file called "install.prg", "install.py", "install.php" or "install.js" then this script is run to complete installation. This gives developers complete flexibility to create databases, tables and set file permissions at install time.
Remember to "Publish" your App before you build a Lianja package so that it appears in the Lianja App Center for your end-users
Lianja packages can be built in the "Deploy" workspace (there's a new icon) in the Lianja App Builder -- "Export as package".
"Export as package" produces a file with a ".lpk" file extension that contains the Apps, Libraries and Databases/tables that are selected in the "Deploy" workspace.
If an .lpk file is uploaded to the Lianja Cloud "Packages" directory (a new directory that will be included in the final release distro) then the package will be auto installed by the Lianja Cloud Server then removed. This provides a very simple method for deploying Apps in the Cloud.
You can also email a .lpk package file to members of your team and run "Install package" from the App Builder "Apps" workspace to share apps between each other.
This is the preferred way to share OSS Apps from LianjaX, LianjaED and LianjaNPO as all you need to do is download the .lpk file and run "Install package".
If the App you are packaging up includes a file called "install.prg", "install.py", "install.php" or "install.js" then this script is run to complete installation. This gives developers complete flexibility to create databases, tables and set file permissions at install time.
Remember to "Publish" your App before you build a Lianja package so that it appears in the Lianja App Center for your end-users