Difference between revisions of "Deploying to Local Directory"

From Lianjapedia
Redirect page
Jump to: navigation, search
(Deploying Lianja Web/Mobile Client Apps)
(Redirected page to Deploying to Local Directory v6)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
#REDIRECT [[Deploying to Local Directory v6]]
 +
 +
'''This documentation is for an earlier version.  For the [[Deploying to Local Directory v6|latest version see here]].'''
 +
 
This page explains how to Deploy your Lianja App, database and Library files to make them available to the Lianja App Center, Lianja Cloud Server or Lianja SQL Server on the same machine.
 
This page explains how to Deploy your Lianja App, database and Library files to make them available to the Lianja App Center, Lianja Cloud Server or Lianja SQL Server on the same machine.
  
Line 27: Line 31:
 
|-
 
|-
 
|}
 
|}
====Mac====
+
====macOS====
 +
Prior to v6.0:
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="20%"|Files||width="80%"|Location
 
!width="20%"|Files||width="80%"|Location
Line 36: Line 41:
 
|-
 
|-
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/library
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/library
 +
|-
 +
|}
 +
 +
From v6.0:
 +
{| class="wikitable" width="100%"
 +
!width="20%"|Files||width="80%"|Location
 +
|-
 +
|valign="top"|App||/Users/Shared/Lianja/apps
 +
|-
 +
|valign="top"|Databases|||/Users/Shared/Lianja/data
 +
|-
 +
|valign="top"|Library||/Users/Shared/Lianja/library
 
|-
 
|-
 
|}
 
|}
Line 62: Line 79:
 
|-
 
|-
 
|}
 
|}
====Mac====
+
====macOS====
 +
Prior to v6.0:
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="20%"|Files||width="80%"|Location
 
!width="20%"|Files||width="80%"|Location
Line 71: Line 89:
 
|-
 
|-
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/library
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/library
 +
|-
 +
|}
 +
 +
From v6.0:
 +
{| class="wikitable" width="100%"
 +
!width="20%"|Files||width="80%"|Location
 +
|-
 +
|valign="top"|App||/Users/Shared/Lianja/cloudserver/tenants/public/apps
 +
|-
 +
|valign="top"|Databases|||/Users/Shared/Lianja/cloudserver/tenants/public/data
 +
|-
 +
|valign="top"|Library||/Users/Shared/Lianja/cloudserver/tenants/public/library
 
|-
 
|-
 
|}
 
|}
Line 97: Line 127:
 
|-
 
|-
 
|}
 
|}
====Mac====
+
====macOS====
 +
Prior to v6.0:
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="20%"|Files||width="80%"|Location
 
!width="20%"|Files||width="80%"|Location
Line 106: Line 137:
 
|-
 
|-
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/wwwroot/library<br>Note: /usr/local/lianja/cloudserver is a symbolic link to /Users/<username>/Library/Application Support/Lianja/cloudserver
 
|valign="top"|Library||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/wwwroot/library<br>Note: /usr/local/lianja/cloudserver is a symbolic link to /Users/<username>/Library/Application Support/Lianja/cloudserver
 +
|-
 +
|}
 +
 +
From v6.0:
 +
{| class="wikitable" width="100%"
 +
!width="20%"|Files||width="80%"|Location
 +
|-
 +
|valign="top"|App||/Users/Shared/Lianja/cloudserver/tenants/public/wwwroot/apps
 +
|-
 +
|valign="top"|Databases|||/Users/Shared/Lianja/cloudserver/tenants/public/data
 +
|-
 +
|valign="top"|Library||/Users/Shared/Lianja/cloudserver/tenants/public/wwwroot/library
 
|-
 
|-
 
|}
 
|}
Line 124: Line 167:
 
|-
 
|-
 
|}
 
|}
====Mac====
+
====macOS====
 +
Prior to v6.0:
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="20%"|Files||width="80%"|Location
 
!width="20%"|Files||width="80%"|Location
 
|-
 
|-
 
|valign="top"|Databases||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/data<br>Note: /usr/local/lianja/cloudserver is a symbolic link to /Users/<username>/Library/Application Support/Lianja/cloudserver
 
|valign="top"|Databases||/Users/<username>/Library/Application Support/Lianja/cloudserver/tenants/public/data<br>Note: /usr/local/lianja/cloudserver is a symbolic link to /Users/<username>/Library/Application Support/Lianja/cloudserver
 +
|-
 +
|}
 +
 +
From v6.0:
 +
{| class="wikitable" width="100%"
 +
!width="20%"|Files||width="80%"|Location
 +
|-
 +
|valign="top"|Databases|||/Users/Shared/Lianja/cloudserver/tenants/public/data
 
|-
 
|-
 
|}
 
|}
  
 
==Deploying Lianja Web/Mobile Client Apps==
 
==Deploying Lianja Web/Mobile Client Apps==
The '''Preview live in browser''' functionality was introduced in v4.1 and is accessed from its headerbar button.  This generates the index.html, tablet_index.html and phone_index.html files, deploys script files and opens the App in the default browser.
+
'''Preview live in browser''' generates the index.html, tablet_index.html and phone_index.html files, deploys script files and opens the App in the default browser.
  
From Lianja v5.5 the Web App View, Tablet App View and Phone App View headerbar buttons have been removed.  When using '''Preview live in browser''', current browsers offer the option to emulate different devices.
+
Note: from Lianja v5.5 the Web App View, Tablet App View and Phone App View headerbar buttons have been removed.  When using '''Preview live in browser''', current browsers offer the option to emulate different devices.
  
 
Remember that you should deploy the data and any required Library files using the [[#Deploy Workspace|Deploy Workspace]].
 
Remember that you should deploy the data and any required Library files using the [[#Deploy Workspace|Deploy Workspace]].
Line 158: Line 210:
 
[[{{ns:file}}:l55_previewbrowser4.png|800px|left|border|link={{filepath:l55_previewbrowser4.png}}|Preview live in browser]]
 
[[{{ns:file}}:l55_previewbrowser4.png|800px|left|border|link={{filepath:l55_previewbrowser4.png}}|Preview live in browser]]
 
<br clear=all>
 
<br clear=all>
 +
 +
===Device Emulation===
  
 
Press Ctrl+shift+i or select from the browser menu to open the browser web console.
 
Press Ctrl+shift+i or select from the browser menu to open the browser web console.
Line 292: Line 346:
 
[[Category:Lianja SQL Server]]
 
[[Category:Lianja SQL Server]]
 
[[Category:Lianja Cloud Server]]
 
[[Category:Lianja Cloud Server]]
 +
[[Category:Lianja v5.5]]
 +
[[Category:Lianja v6.0]]

Latest revision as of 10:49, 11 May 2021