Configurazione
The keys of the config file that you change when you install Dashboard.
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| Key | Value | What it does |
|---|---|---|
database | Connection string | The PostgreSQL database that your views read, as postgres://user:password@host:port/database. |
autowidgetwatcher | true or false | With true, Dashboard notices new, changed and removed files in the folder dashboard within a few seconds, without a restart. See Custom widgets. |
api | true or false | Turns the Reports API on. It is off when the key is missing. |
token | Text | The 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.