Install on Windows

In this guide we will see how to install the official pre-built war package on Windows.


Install OpenJDK 8

There are many ways you can install OpenJDK 8 on your system. We will see the most preferred ways:

Download the latest OpenJDK 8 and install it as per the installation instructions.

Install Tomcat 8.5

Download the latest Tomcat 8.5 binary installer and install it as usual.

Install PostgreSQL

We will install PostgreSQL as the database system for the Axelor Business Suite.

Download the latest binary installer package and install as usual.

Deploy the WAR

Now as you have all the prerequisites installed, download the pre-built war package of Axelor Business Suite.

Now extract the downloaded package and locate the WEB-INF\classes\ file to change some of the application settings.

Most importantly, you will require to set database settings like this:

db.default.driver = org.postgresql.Driver
db.default.ddl = update
db.default.url = jdbc:postgresql://localhost:5432/axelor (1)
db.default.user = axelor (2)
db.default.password = axelor (3)
1 the database connection url
2 the database user name, as we created previously
3 the database user password, as we set previously
use the pgAdmin4 app installed with PostgreSQL to create a new database named axelor

You may also like to change some other properties like file.upload.dir to change the location where you want to save uploaded files.

Now first stop the tomcat server and copy the extracted package directory to the C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps directory and start the tomcat server again.

After a while, once database is initialized, you can access the application at: http://localhost:8080/axelor-erp-5.0.1