Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Configurazione

The keys of the config file that you change when you install Dashboard.

.md Sito web

Questa pagina non è ancora tradotta. Stai leggendo l’originale.

The file config in the folder of the app holds the settings that Dashboard reads when it starts. Each line is a key, a colon and a value. Lines that start with // are comments. Restart Dashboard after you change the file.

database            : postgres://user:password@localhost:5432/sales
autowidgetwatcher   : true
api                 : true
token               : 3f9c0d1e8b7a4c2f9e6d5a4b3c2d1e0f
KeyValueWhat it does
databaseConnection stringThe PostgreSQL database that your views read, as postgres://user:password@host:port/database.
autowidgetwatchertrue or falseWith true, Dashboard notices new, changed and removed files in the folder dashboard within a few seconds, without a restart. See Custom widgets.
apitrue or falseTurns the Reports API on. It is off when the key is missing.
tokenTextThe secret that programs send to use the Reports API. Use a long random value.

Keep the file private: it holds the password of your database and the token of the API.

Fatto in Europa