Installation

In this chapter we will see how to prepare the development environment on Linux and Windows operating systems for working with Axelor Open Platform sources.

Prerequisite

OpenJDK

On Linux/MacOS install OpenJDK 11 and make sure JDK command line tools are in your path. If you use distribution provided OpenJDK, they are already available in PATH otherwise do this:

$ export JAVA_HOME=/path/to/jdk
$ export PATH=$JAVA_HOME/bin:$PATH

On Windows, the JDK installer generally configures PATH environment. However, you can do following to setup PATH manually.

$ set JAVA_HOME=\path\to\jdk
$ set PATH=%JAVA_HOME%\bin;%PATH%

To ensure, JDK is installed properly, try this command from console:

$ javac -version
See the list of well known JDK distributions.

PostgreSQL

See PostgreSQL download page for more detailed information about installation process.

You may also require to configure postgresql server to allow password authentication.

Example pg_hba.conf
# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5