Konfiguračný súbor
Kľúče, ktoré môžeš nastaviť v súbore config.
Táto stránka ešte nie je preložená. Čítaš originál.
Na tejto stránke
FlowOS reads the config file in its folder when it starts. Each line is a key, a colon and a value. Lines that start with // are comments. Restart FlowOS after you change the file.
name : FlowOS
backup : false
ui : true
$proxytimeout : 60
op_reqtoken :
op_restoken :FlowOS keys
| Key | Default | What it does |
|---|---|---|
name | FlowOS | The name of the application. |
backup | false | true keeps a dated copy of the design at each save. See Back up and restore. |
ui | true | false turns off the designer. See Run without the user interface. |
op_reqtoken | empty | The Request token from OpenPlatform. See Sign in with OpenPlatform. |
op_restoken | empty | The Response token from OpenPlatform. |
Total.js keys
FlowOS is a Total.js application, so it also reads the keys of the Total.js framework. These are the ones you are most likely to need:
| Key | Default | What it does |
|---|---|---|
$ip | 0.0.0.0 | The network address FlowOS listens on. 127.0.0.1 accepts only connections from the same computer. |
$port | auto | The port. auto takes the number you give on the command line, or 8000. |
$proxytimeout | 60 in FlowOS | The time limit, in seconds, for requests that FlowOS forwards to another server. |
Keep settings and keys in this file. FlowOS does not need environment variables.