Difference between revisions of "Deploying to Local Directory"

From Lianjapedia
Jump to: navigation, search
(Created page with "This page explains how to Deploy your Lianja App, database and Library files to make them available to the Lianja App Center or Lianja SQL Server on the same machine. ==Defau...")
 
Line 6: Line 6:
 
===Lianja App Builder===
 
===Lianja App Builder===
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
!width=20%|Files||width=40%|Windows||width=40%|Linux
+
!width="20%"|Files||width="40%"|Windows||width="40%"|Linux
 
|-
 
|-
|valign=top|App||C:\Lianja\apps||/opt/lianja/apps
+
|valign="top"|App||C:\Lianja\apps||/opt/lianja/apps
 
|-
 
|-
|valign=top|Databases||C:\Lianja\data||/opt/lianja/data
+
|valign="top"|Databases||C:\Lianja\data||/opt/lianja/data
 
|-
 
|-
|valign=top|Library||C:\Lianja\library||/opt/lianja/library
+
|valign="top"|Library||C:\Lianja\library||/opt/lianja/library
 
|-
 
|-
 
|}
 
|}
Line 19: Line 19:
 
===Lianja App Center===
 
===Lianja App Center===
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
!width=20%|Files||width=40%|Windows||width=40%|Linux
+
!width="20%"|Files||width="40%"|Windows||width="40%"|Linux
 
|-
 
|-
|valign=top|App||C:\Lianja\cloudserver\tenants\public\apps||/opt/lianja/cloudserver/tenants/public/apps
+
|valign="top"|App||C:\Lianja\cloudserver\tenants\public\apps||/opt/lianja/cloudserver/tenants/public/apps
 
|-
 
|-
|valign=top|Databases||C:\Lianja\cloudserver\tenants\public\data||/opt/lianja/cloudserver/tenants/public/data
+
|valign="top"|Databases||C:\Lianja\cloudserver\tenants\public\data||/opt/lianja/cloudserver/tenants/public/data
 
|-
 
|-
|valign=top|Library||C:\Lianja\cloudserver\tenants\public\library||/opt/lianja/cloudserver/tenants/public/library
+
|valign="top"|Library||C:\Lianja\cloudserver\tenants\public\library||/opt/lianja/cloudserver/tenants/public/library
 
|-
 
|-
 
|}
 
|}
Line 32: Line 32:
 
===Lianja SQL Server===
 
===Lianja SQL Server===
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
!width=20%|Files||width=40%|Windows||width=40%|Linux
+
!width="20%"|Files||width="40%"|Windows||width="40%"|Linux
 
|-
 
|-
|valign=top|Databases||C:\Lianja\cloudserver\tenants\public\data||/opt/lianja/cloudserver/tenants/public/data
+
|valign="top"|Databases||C:\Lianja\cloudserver\tenants\public\data||/opt/lianja/cloudserver/tenants/public/data
 
|-
 
|-
 
|}
 
|}

Revision as of 11:46, 5 February 2013

This page explains how to Deploy your Lianja App, database and Library files to make them available to the Lianja App Center or Lianja SQL Server on the same machine.

Default Directories

Using the standard installation settings, these are the default directories:

Lianja App Builder

Files Windows Linux
App C:\Lianja\apps /opt/lianja/apps
Databases C:\Lianja\data /opt/lianja/data
Library C:\Lianja\library /opt/lianja/library

Lianja App Center

Files Windows Linux
App C:\Lianja\cloudserver\tenants\public\apps /opt/lianja/cloudserver/tenants/public/apps
Databases C:\Lianja\cloudserver\tenants\public\data /opt/lianja/cloudserver/tenants/public/data
Library C:\Lianja\cloudserver\tenants\public\library /opt/lianja/cloudserver/tenants/public/library

Lianja SQL Server

Files Windows Linux
Databases C:\Lianja\cloudserver\tenants\public\data /opt/lianja/cloudserver/tenants/public/data

Deploy Worksurface

Using the Deploy Worksurface, you can compare the files in the Lianja App Builder directories with those in the Lianja App Center / Lianja SQL Server directories and copy any missing or modified files.

Preview Changes

Simply click the checkbox next to the file group or individual filename in the Deployment files explorer for the files you want to deploy. You can then preview the changes that will be made by clicking the Preview changes button in the Headerbar. These are displayed in the Deployment Files Preview window. Here I'm deploying a new database created in the Lianja App Builder. After deployment it will be available to Lianja SQL Server and the Lianja App Center. You can deploy databases, Apps and Library files in a single operation - just select the files in the explorer.

Commit Changes

Once you are happy with the selection of files to deploy, click the Commit changes button in the Headerbar and confirm the operation when prompted.

Finished

The copy operation is carried out and the Deployment Transfer Log window logs the changes.

Recipes DSN

Now that deployment has completed successfully the recipes database is available to Lianja SQL Server (and the Lianja App Center) on my machine and I can create a DSN. For more information on creating DSNs, please see the Lianja ODBC Manager.

Access DSN

Then access the DSN.