Fork me on GitHub

Standard Install

iCasa is decomposed in two parts:

  • Gateway part corresponding to the box runtime (iCasa Home Server) including the simulator module.
  • Web server part serving the client web application code (Content Server).

A client using a Web browser access first the Web Server to get the content of web application and then, it access the Gateway to get information about the iCasa execution context and to interact with it.

Web Architecture

Installation Prerequesites

  • Java Development Toolkit 6 (Avoid Java 7 that may cause troubles).
  • A modern Web browser (We recommend to use Firefox but you can also use Chrome, Internet Explorer is not yet supported).

Installation Procedure

  1. Download a full iCasa binary distribution (We recommend the icasa.teaching.distribution to start).
  2. Unzip it on a local folder i.e. the ICASA_HOME directory.

The ICASA_HOME directory should have this structure

ICasa Structure

In addition four launch scripts are in the root directory: startGateway.bat, startGateway.sh

Launch

Gateway Part Launch

  1. Go to the ICASA_HOME directory.
  2. Execute startGateway script on Unix systems or startGateway.bat script on Windows systems.

By default, the gateway port is set to 8080. In this case, the platform url would be http://localhost:8080/.

Web Server Part Launch

  1. In order to have the simulator and/or the dashboard, it is needed to have the corresponding bundles in the iCasa Platform:

  2. simulator-web-resources, for the simulator GUI site.

  3. dashboard-web-resources, for the dashboard GUI site.

  4. To interact with those applications, go to:

  5. http://localhost:8080/simulator. for the simulator GUI

  6. http://localhost:8080/dashboard. for the dashboard GUI