Step 6: Configuration
At this stage, our first application is now ready. However, before we run the application, we have to provide some configuration details like database connection etc.
src/main/resources/axelor-config.properties file and set the database
configuration as described bellow.
# Database settings # ~~~~~ db.default.ddl = update db.default.url = jdbc:postgresql://localhost:5432/axelor-demo (1) db.default.user = user (2) db.default.password = secret (3)
|1||use the database
|2||the postgresql user|
|3||the postgresql user’s password|
You can also provide external config file with
You can also provide config value with system properties
Create the database using the postgresql’s
$ createdb axelor-demo
axelor-config.properties has few more settings that you can adjust if you wish.
In this chapter we seen how to provide application configure. In the next chapter we will see how to run the application and access the web frontend.