Difference between revisions of "Deploying to LAN - Desktop and Web Clients"

From Lianjapedia
Jump to: navigation, search
Line 1: Line 1:
 
''Under Construction''
 
''Under Construction''
 +
 
A Guide to Sharing Lianja Apps and Data between Desktop clients and Web/Mobile clients on a LAN.
 
A Guide to Sharing Lianja Apps and Data between Desktop clients and Web/Mobile clients on a LAN.
  
Line 57: Line 58:
  
 
- This will be handled automatically in a future release.
 
- This will be handled automatically in a future release.
 +
 
<br clear=all>
 
<br clear=all>
  
 +
==Desktop Client==
 
[[{{ns:file}}:lan_desktop_client.png|450px|thumb|left|link={{filepath:lan_desktop_client.png}}|App Center Desktop Client]]
 
[[{{ns:file}}:lan_desktop_client.png|450px|thumb|left|link={{filepath:lan_desktop_client.png}}|App Center Desktop Client]]
 +
 +
 +
 +
 +
To run your deployed Apps from the Desktop Client.  Install the App Center on the Client (on C: in the example here), then configure as follows:
 +
 +
* Map a drive on the client to the Lianja drive on the Server.
 +
 +
- Here Z: has been mapped to L (the Lianja drive) on the Server.  For versions prior to 1.4.1, use the same letter as the server drive, e.g. map L: to L on the Server.
 +
 +
* Specify the --runtimedir <drive> switch on the App Center shortcut command
 +
 +
- Here the command becomes: ''C:\lianja\bin\lianjaruntime.exe --runtimedir Z:''.
 +
 +
- For versions prior to 1.4.1, you should also specify the ''--networkshare'' switch.  This is turned on automatically in v1.4.1 and later.
  
 
<br clear=all>
 
<br clear=all>
  
 +
==Web Client==
 
[[{{ns:file}}:lan_web_client.png|450px|thumb|left|link={{filepath:lan_web_client.png}}|Web Client]]
 
[[{{ns:file}}:lan_web_client.png|450px|thumb|left|link={{filepath:lan_web_client.png}}|Web Client]]
 +
 +
 +
 +
To run Web or Mobile Apps, just point your browser at the IP address of the server.
 +
 +
* If you are using the IIS extension or have port 80 enabled:
 +
 +
<nowiki>http://192.168.X.X/login.rsp</nowiki>
 +
 +
* If you are running without port 80 enabled.
 +
 +
<nowiki>http://192.168.X.X:8001</nowiki>
  
 
<br clear=all>
 
<br clear=all>

Revision as of 10:22, 20 March 2015

Under Construction

A Guide to Sharing Lianja Apps and Data between Desktop clients and Web/Mobile clients on a LAN.

Server Setup

Server Setup



  • Install the Lianja Cloud Server on the chosen server on your LAN.

- Here it is installed on the E: drive of an XP Virtual Machine.

  • Create a share point on your server to the drive on which you installed Lianja.

- Here E: is shared as L.


Deploying to the Server

Deploying from App Builder



  • In the Deploy workspace create a new deployment settings profile by clicking New and specifying a name.

- Here it is MyLAN_settings

  • Change the Directory to point to \lianja\cloudserver\tenants\public\ on the Server shared drive.

- Here S: has been mapped to L on the Server, so Directory is S:\lianja\cloudserver\tenants\public\


Deployed to Server



  • Check the Server to see your deployed files.

- Remember to deploy your database and any additional Library script files as well as your Apps.


Deploy index.html



  • For Web Clients, the index.html file must also be copied to the lianja\cloudserver\tenants\public\wwwroot\apps\<appname>\ directory on the server.

- The index.html file is copied into your local \lianja\cloudserver\tenants\public\wwwroot\apps\<appname>\ directory when you Deploy from the Web App View.

- This will be handled automatically in a future release.


Desktop Client

App Center Desktop Client



To run your deployed Apps from the Desktop Client. Install the App Center on the Client (on C: in the example here), then configure as follows:

  • Map a drive on the client to the Lianja drive on the Server.

- Here Z: has been mapped to L (the Lianja drive) on the Server. For versions prior to 1.4.1, use the same letter as the server drive, e.g. map L: to L on the Server.

  • Specify the --runtimedir <drive> switch on the App Center shortcut command

- Here the command becomes: C:\lianja\bin\lianjaruntime.exe --runtimedir Z:.

- For versions prior to 1.4.1, you should also specify the --networkshare switch. This is turned on automatically in v1.4.1 and later.


Web Client

Web Client


To run Web or Mobile Apps, just point your browser at the IP address of the server.

  • If you are using the IIS extension or have port 80 enabled:

http://192.168.X.X/login.rsp

  • If you are running without port 80 enabled.

http://192.168.X.X:8001