User Tools

Site Tools


iotivity_cloud_-_programming_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
iotivity_cloud_-_programming_guide [2017/09/05 11:27]
Kousthubha M N [Run servers]
iotivity_cloud_-_programming_guide [2018/07/10 07:41] (current)
Bruce Lee [Run servers] fix cloud acount run problem
Line 12: Line 12:
 The cloud projects are located under {IoTivity root}/cloud folder. The folder name represent project itself. Account, Interface, Resource-directory and MessageQueue is java 8 based projects. Stack is base project for other server projects. So you should build Stack project first. You can also refer README file in each folder how to build and run. All java projects are maven ready. We assume that maven installed. Otherwise install it from http://​maven.apache.org The cloud projects are located under {IoTivity root}/cloud folder. The folder name represent project itself. Account, Interface, Resource-directory and MessageQueue is java 8 based projects. Stack is base project for other server projects. So you should build Stack project first. You can also refer README file in each folder how to build and run. All java projects are maven ready. We assume that maven installed. Otherwise install it from http://​maven.apache.org
 <​code>​ <​code>​
-~iotivity/​cloud/​stack ​$ mvn install -Dmaven.test.skip=true+~iotivity/​cloud $ mvn install -Dmaven.test.skip=true
 </​code>​ </​code>​
- 
-After stack installation,​ you can build other projects. 
-<​code>​ 
-~iotivity/​cloud/​resourcedirectory $ mvn install -Dmaven.test.skip=true 
-</​code>​ 
- 
-<​code>​ 
-~iotivity/​cloud/​account $ mvn install -Dmaven.test.skip=true 
-</​code>​ 
- 
-<​code>​ 
-~iotivity/​cloud/​messagequeue $ mvn install -Dmaven.test.skip=true 
-</​code>​ 
- 
-<​code>​ 
-~iotivity/​cloud/​interface $ mvn install -Dmaven.test.skip=true 
-</​code>​ 
- 
  
 The Account and Resource-directory server requires mongodb to store data. The Account and Resource-directory server requires mongodb to store data.
Line 61: Line 43:
 * Run Account server * Run Account server
 <​code>​ <​code>​
-~iotivity/​cloud/​account/​target $ java -jar CloudAccount-0.0.1-SNAPSHOT.jar 5685 127.0.0.1 27017 0+~iotivity/​cloud/​account/​target $ cp -arf ../​properties . ; java -jar CloudAccount-0.0.1-SNAPSHOT.jar 5685 127.0.0.1 27017 0
 </​code>​ </​code>​
  
iotivity_cloud_-_programming_guide.1504610873.txt.gz ยท Last modified: 2017/09/05 11:27 by Kousthubha M N