Note
This document is written for the developers of Doma.
To build you will need Git and JDK 8. Be sure that your JAVA_HOME
environment variable points to the jdk1.8.0
folder extracted from the JDK download.
$ git clone https://github.com/domaframework/doma.git
$ cd doma
$ ./gradlew build
We use google-java-format 1.7 for code formatting.
Use the Spotless gradle plugin:
$ ./gradlew spotlessApply
Use the google-java-format IntelliJ plugin.
Use the google-java-format Eclipse plugin.
We use Travis CI for CI. All pull requests to master brunch are tested on Travis CI.
We use Sphinx to generate documents. To use Sphinx you will need Python.
$ cd docs
$ pip install -r requirements.txt
Execute the sphinx-autobuild command in the docs
directory:
$ sphinx-autobuild . _build/html
Visit the webpage served at http://127.0.0.1:8000.