Skip to content

Developer Guide

Alex Eng edited this page Mar 25, 2015 · 28 revisions

Zanata Developer Guide

Build Status (Travis, master branch)

  • zanata-parent Build Status
  • zanata-api Build Status
  • zanata-common Build Status
  • zanata-client Build Status

Development tools

  • Java Development Kit (JDK) 1.7 - yum install java-1.7.0-openjdk-devel
  • GIT - Source code repository
  • Eclipse IDE for J2EE (Kepler 4.2) or IntelliJ IDEA
  • MySQL database 5.1 - 5.5, or mariadb
  • WildFly 8.1+ or EAP 6.3+ (can be auto-installed for integration tests)
  • Maven v3

Code style (for new files)

See Coding Guide.

Zanata Developer Setup Guide

NB: if you just want to run Zanata via integration tests (or via cargo:run) you need not set up mysql, JBoss or the datasource.

  1. install JDK 1.7 (see above)
  2. install git
  3. Clone Zanata repo https://github.com/zanata/zanata-server.git
  4. install Maven
  5. install MySQL client and server
  6. create database: zanata
  7. install JBoss
  8. configure JBoss
  9. add MySQL JDBC driver to JBoss
  10. add Zanata datasource to JBoss
  11. add mysql and JBoss details to maven settings
  12. install Eclipse
  13. add Eclipse plugins
  14. prepare zanata for eclipse import
  15. import zanata into eclipse
  16. configure Eclipse

Zanata Architecture Overview

See Architecture Architecture overview

Clone this wiki locally