1 This project contains the Resource Directory(RD) Server code.
5 1) Install Apache Maven if you don't have it
7 http://maven.apache.org
9 2) Install Mongo DB if you don't have it
11 http://www.mongodb.org/downloads
13 3) Build a CloudStack. If you are building first time, then build the stack.
15 go to "stack" folder in root directory
16 $ mvn install -Dmaven.test.skip=true
20 $ mvn install -Dmaven.test.skip=true
22 - The CloudResourceDirectory-0.0.1-SNAPSHOT.jar file will be placed in the "target" folder
27 $ java -jar CloudResourceDirectory-0.0.1-SNAPSHOT.jar arg1(RD CoAP Server Port) arg2(TLS mode required)
28 e.g java -jar CloudResourceDirectory-0.0.1-SNAPSHOT.jar 5684 0
30 - If you want to operate on TLS mode, "CLOUD_CERT_FILE(iotivitycloud.crt)", "CLOUD_KEY_FILE(iotivitycloud.key)" and ROOT_CERT_FILE(rootca.crt) files should be placed in the "target" folder.