Fix PUT and Observe relay on cloud stack
[platform/upstream/iotivity.git] / cloud / account / README
1 This project contains the Account Server code.
2
3
4 Build and Run
5
6 1) Install Apache Maven if you don't have it
7
8         http://maven.apache.org
9
10 2) Build a CloudStack. If you are building first time, then build the stack.
11
12         go to "stack" folder in root directory
13         $ mvn install -Dmaven.test.skip=true
14
15 3) Build a .jar file
16
17         $ mvn install -Dmaven.test.skip=true
18
19         - The CloudAccount-0.0.1-SNAPSHOT.jar file will be placed in the "target" folder
20
21 4) Run .jar file
22
23         go to "target" folder
24         $ java -jar CloudAccount-0.0.1-SNAPSHOT.jar arg1(AccountServer CoAP Server Port)
25         e.g. java -jar CloudAccount-0.0.1-SNAPSHOT.jar 5685
26
27         - Before you run a Accout server, You need to set up following steps.
28           1) Install MongoDB
29           2) Install Github certificates for github.com and *.github.com.