Difference between revisions of "Deploying to Local Directory"

From Lianjapedia
Redirect page
Jump to: navigation, search
(Default Directories)
(Redirected page to Deploying to Local Directory v6)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
+
#REDIRECT [[Deploying to Local Directory v6]]
  
==See Also==
+
'''This documentation is for an earlier version.  For the [[Deploying to Local Directory v6|latest version see here]].'''
* '''Watch the video:''' Getting Started 1 - Lianja Cloud Server and Lianja Web Client
+
 
+
Note: the '''Save''' button in the Web App View has now been renamed '''Deploy'''.
+
 
+
 
+
{{#widget:Vimeo|id=90317631 |width=450 |height=253}}
+
  
 +
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.
  
 
==Default Directories==
 
==Default Directories==
Line 36: 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 45: 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 71: 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 80: 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 106: 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 115: 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 133: 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==
 +
'''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.
 +
 +
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]].
 +
 +
Click '''Preview live in browser'''.  It will generate and deploy the files for the App. 
 +
 +
[[{{ns:file}}:l55_previewbrowser.png|800px|left|border|link={{filepath:l55_previewbrowser.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
The login page will be displayed in the browser if you are not already logged in.
 +
 +
[[{{ns:file}}:l55_previewbrowser2.png|800px|left|border|link={{filepath:l55_previewbrowser2.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
Once logged in, the Lianja App Center is displayed.  Click the tile for the App.
 +
 +
[[{{ns:file}}:l55_previewbrowser3.png|800px|left|border|link={{filepath:l55_previewbrowser3.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
The App will be opened.
 +
 +
[[{{ns:file}}:l55_previewbrowser4.png|800px|left|border|link={{filepath:l55_previewbrowser4.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
===Device Emulation===
 +
 +
Press Ctrl+shift+i or select from the browser menu to open the browser web console.
 +
 +
[[{{ns:file}}:l55_previewbrowser5.png|800px|left|border|link={{filepath:l55_previewbrowser5.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
<div style="height:100px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Pro Tip</b>
 +
The Console and Network tabs can be invaluable when you are testing web Apps.<br/>
 +
You can see the data queries that are being sent and any errors reported.<br>
 +
You can also test any JavaScript commands from the Console command line.<br/>
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
 +
 +
From the browser web console, the device emulator can be accessed.  Here Firefox:
 +
 +
[[{{ns:file}}:l55_previewbrowser6firefox.png|800px|left|border|link={{filepath:l55_previewbrowserfirefox6.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
Chrome:
 +
 +
[[{{ns:file}}:l55_previewbrowser6chrome.png|800px|left|border|link={{filepath:l55_previewbrowser6chrome.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
Edge:
 +
 +
[[{{ns:file}}:l55_previewbrowser6edge.png|800px|left|border|link={{filepath:l55_previewbrowser6edge.png}}|Preview live in browser]]
 +
<br clear=all>
 +
 +
==Deploying Lianja Web/Mobile Client Apps (Deprecated in v5.5)==
 +
Web App View, Tablet App View and Phone App View have been deprecated in v5.5.  Please see [[#Deploying Lianja Web/Mobile Client Apps|Deploying Lianja Web/Mobile Client Apps]] above for instructions.
 +
 +
The following instructions apply to versions prior to v5.5 only.
 +
 
For Web, Tablet and Phone Apps, open the App in the appropriate ''App View'' in the Lianja App Builder and click the '''Deploy''' button to generate the HTML5 index file for each of your target devices.   
 
For Web, Tablet and Phone Apps, open the App in the appropriate ''App View'' in the Lianja App Builder and click the '''Deploy''' button to generate the HTML5 index file for each of your target devices.   
  
Line 202: Line 307:
  
 
<br clear=all>
 
<br clear=all>
 
See the Getting Started 1 - Lianja Cloud Server and Lianja Web Client video (link above) for more on the 'Web App View'.
 
  
 
==Deploy Workspace==
 
==Deploy Workspace==
Line 243: 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