Environment variable

How to read variable from configuration file using environment variable in cuba application?
and also where is the main class of a cuba application?

Hello @prajeesh

Could you clarify what do you mean by:

read variable from configuration file using environment variable

You can read configuration from *.properties file using com.haulmont.cuba.core.sys.AppContext#getProperty.

To read environment variable you can use this API: java.lang.System#getenv(java.lang.String)

Regards,
Daniil