How to configure the parameters?

Index

The previous page: Dependencies in package.json

  • using ini-files
  • using environment variable

NB: Priority is given to settings that are set via environment variables, not via ini files. At the same time, the /config/setup.ini settings do not affect the settings of the deploy application - they are only used for the core and modules. Deploy.json is most often parameterized via an ini in the application directory, such as the deploy.ini file.

How to configure the parameters of OwnCloud with a user account

First of all, set the parametric settings of the storage in the deploy.json file:

"ownCloud":
   "ownCloud": {
            "module": "core/impl/resource/OwnCloudStorage",
            "options": {
              "url": "[[ownCloud.url]]",
              "login": "[[ownCloud.login]]",
              "password": "[[ownCloud.pwd]]"
            }
          }

Configure the parameters in deploy by use of the ini-files:

In the deploy.ini ini-file near the deploy.json file set the following parameters:

Configure the parameters in deploy by use of the environment variable:

In the environment variables for the NODE set the following parameters:

Setting the limit

Setting the limit for switching items in the system menu for an anonymous user. The system menu is formed taking into account the access control to the module pages, i.e. if there are no access rights to the module - the menu item is not displayed to go to the module page. Set the ``auth.checkUrlAccess=true `` in the ini-file of the project to set the limit setting.

Changing all references to relative ones

To change all references to relative ones, in the ini-file set the following parameter:

If the path is not specified, then it is ‘/’ by default.

Setting the control unit to run tasks on a schedule in admin module

To display the control unit, in the ini-file of the project add the following setting:

This setting enable the scheduler in the process of the web server, which will give the opportunity to manage Jobs from the admin module.

Scheduler — manages task start timers.

Job — specific task run by a timer.

Setting to cache the data at the core level

Setting of cached data at the core level - allows to correctly recover from the cache eager loaded reference attributes and collections, as well as files and calculated attributes. Lists are cached correctly. Caching is implemented in the geomodule. This setting once and for all solves the problem of circular references when serializing objects.

In the ini-file of the project, write the following:

Setting the time limit

connectTimeOut - the maximum time connection time.

operTimeOut - the maximum time to complete an operation.

Setting the minimum password length

You can override the setting for an application in the deploy.json file

The next page: Functionality


Licence   Contact us   English  

iondv metrics

Copyright (c) 2018 LLC “ION DV”.
All rights reserved.