You are on page 1of 2

TI LIU HNG DN CI T ODK

1. Phn COLLECT:

- Dng TortoiseHG download source code :

https://code.google.com/p/opendatakit/source/checkout?repo=collect

2. Phn AGGREGATE:

Dng TortoiseHG checkout code t:

https://code.google.com/p/opendatakit/source/checkout?repo=aggregate

Ci t App Engine SDK and Google Web Toolkit SDK trn Eclipse.

a. Ci t trn AppEngine:

Import 2 project: odk-gae-settings v eclipse-aggregate-gae.

Chnh sa file odk-gae-settings / common / security.properties, thay i security.server.superUser


thnh ti khon gmail mong mun. Chn 'build.xml' (Ant Buildfile) compile li project odk-gae-
settings cp nht file jar mi cho project eclipse-aggregate-gae.

Compile project eclipse-aggregate-gae dng Google/GWT Compile vi vi tham s 'Entry Point


Modules' l 'AggregateUI'. Phn 'VM Arguments' thm tham s: -Xmx1536m

Chy th project bng menu Run Configurations chn Web Application v chn
index.html

tab (X)= Arguments, phn VM Arguments thay th -Xmx512m thnh -Xmx2048m


-XX:MaxPermSize=1536m

Ci t 'GWT Developer Plugin' cho Chrome chy th :

http://127.0.0.1:8888/index.html?gwt-server=127.0.0.1:9997

Ch ci t thm 1 s lib vo maven, hng dn file


opendatakit.aggregate\src\main\libs\readme.txt"

b. Ci t trn server Tomcat 6 v MySQL:

Copy th mc war trong project eclipse-aggregate-gae vo th mc eclipse-aggregate-mysql.


Xa file war/WEB-INF/lib/odk-gae-settings-latest.jar. Chy phn ci t ODK Aggregate installer
cu hnh ip v mysql.

Copy file ODKAggregate-settings.jar trong th mc WEB-INF/lib trong phn ci t trn vo th


mc war/WEB-INF/lib ca project eclipse-aggregate-mysql.

Chy cu query create_db_and_user.sql trong mi trng command line mysql to d liu cn


thit.

3. Thit k Xform:
Vo http://build.opendatakit.org/

You might also like