1. 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.
1.1. 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).
1.2. Installation Procedure
- Download a full iCasa binary distribution (We recommend the icasa.teaching.distribution to start).
- Unzip it on a local folder i.e. the ICASA_HOME directory.
The ICASA_HOME directory should have this structure
In addition four launch scripts are in the root directory: startGateway.bat, startGateway.sh
2. Launch
2.1. Gateway Part Launch
- Go to the ICASA_HOME directory.
- Execute startGateway script on Unix systems or startGateway.bat script on Windows systems.
By default, the gateway port is set to 9000 as from 1.2.6+ version (8080 for earlier versions). In this case, the platform url would be http://localhost:9000/.
2.2. Web Server Part Launch
In order to have the simulator and/or the dashboard, it is needed to have the corresponding bundles in the iCasa Platform:
simulator-web-resources, for the simulator GUI site.
dashboard-web-resources, for the dashboard GUI site.
To interact with those applications, go to:
http://localhost:9000/simulator. for the simulator GUI
- http://localhost:9000/dashboard. for the dashboard GUI