Skip to content

Configuration Settings

nipunreddevil edited this page May 13, 2012 · 2 revisions

The main configuration settings for the Play Application can be found in:


/repositoryUserInterface/conf/application.conf


Currently the UserInterface application is configured to run over port 9002.As per convenience the following line may be changed to use some other port.


http.port=9002


In accordance with this port setting we need to define the address and port of the Play Application in the following file


/repositoryUserInterface/public/javascripts/constants.js


in the following variable


var URL_UI_SERVER="http://localhost:9002/";


The Base address would have to be modified accordingly at the same location in the code.

We now also need to tell the Play Application about the location of the Repository and the UI server.This is configured in the following file


/repositoryUserInterface/app/edu/iiitd/muc/sensoract/constants/Const.java


in the following variables


public static final String URL_UI_SERVER="http://localhost:9002/"; public static final String URL_REPOSITORY_SERVER="http://localhost:9000/";


which tell us that the repository is running on the same machine at port 9000 and the UI is running on port 9002


Clone this wiki locally