Instance and site¶
The default instanceconfig¶
In the default.xml
file of the instanceconfig
directory you will find the default configuration for each instance created in the environment.
The recipe that will make up the single application is established in the instance configuration. In this file we are going to configure the common elements we want for all the instances that are launched starting from the installation.
Let’s go first and see what the automatically created file looks like.
<?xml version="1.0" ?>
<GenRoBag>
<packages/>
<authentication>
<xml_auth defaultTags="user,xml">
<admin pwd="password" tags="_DEV_,admin,user"/>
</xml_auth>
</authentication>
</GenRoBag>
packages¶
Here it is possible to specify which packages, i.e. the building blocks of the application, that we want present in each instance.
authentication¶
The authentication
element contains in the default configuration only the admin user generated by the environment initialization script.
Through this xml user it is possible to have local access to any application in development.
Hint
For further details on the instanceconfig file, please refer to the dedicated section of the Genropy Basic Course
The default siteconfig¶
In the default.xml
file of the siteconfig
directory you will find the default configuration for each instance created in the environment.
Let’s go first and see what the automatically created file looks like.
<?xml version="1.0" ?>
<GenRoBag>
<wsgi debug="True::B" port="8080" reload="True::B"/>
<gui css_theme="ludo"/>
<jslib dojo_version="11" gnr_version="11"/>
<resources>
<common/>
<js_libs/>
</resources>
<gnrdaemon hmac_key="g8li4apm19bv" host="localhost" port="40404"/>
</GenRoBag>
Hint
For further details on the siteconfig file, please refer to the dedicated section of the Genropy Basic Course