1
Config
Mees van der Wijk edited this page 2023-04-05 12:21:02 +02:00

Config

Certainly! The configuration file, located at %userhome%/MorphixProductions/Getiyo/config.json, enables you to modify core behaviors that aren't accessible through the user interface. By adjusting the settings in this file, you can optimize Getiyo to meet your specific needs.

Structure

{
    "name": null, 
    "developmentMode": false,
    "ports": {
        "http": 4080, 
        "https": 4443
    },
    "systemColor": "#f44336",
    "singleChannelMode": {
        "enabled": false,
        "channelID": null
    },
    "moduleStore": {
        "address": "https://dev.getiyo.com",
        "port": 4181,
        "frontEndAddress": null,
        "frontEndPort": null,
        "browserKey": null
    },
    "installation": {
        "performance": {
            "enabled": true
        },
        "statistics": {
            "enabled": true
        },
        "logsave": {
            "enabled": true
        }
    },
    "saveInterval": 60000,
    "currentDate": "2023-01-16"
}
Property Description
name Defines the name of the Getiyo instance.
developmentMode TURN THIS OFF IN PRODUCTION Disables account authentication and create routes for the GetiyoModuleTool to restart the server during development.
port.http Specifies the port for the HTTP server to bind.
port.https Indicates the port for the HTTPS server to bind; requires privkey.pem, cert.pem, and chain.pem in the %userhome%/MorphixProductions/Getiyo/cert directory.
systemColor Sets the highlight color used for various UI elements such as menus, buttons, toggles, and anchor elements.
singleChannelMode.enabled When enabled only one channel can be accessed on this server. The main display of the channel will also be the root url of the server (http://serverip:4080) instead of http://serverip:4080/channelname. This requires the singleChannelMode.channelID property to be set.
singleChannelMode.channelID Determines the channel ID for single-channel mode; see singleChannelMode.enabled.
moduleStore.* Config data for the module store; most settings accessible via admin module page (http://serverip:4080/admin/modules)
installation.performance Activates server performance logging
installation.statics Enables IP visitor logging
installation.logsave Saves server console output
saveInterval Sets frequency (in milliseconds) for writing changed channel updates to their file.
currentDate Internal property for time tracking and backup control.