Config

Modify config variables using the command:

openfare config set <field-path> <field-value>

Show config values (as JSON) using the command:

openfare config show <field-path>

Example config file

{
  "core": {
    "preferred-currency": "USD"
  },
  "services": {
    "default": "lnpay",
    "portal": {
      "url": "http://openfare.dev/",
      "api-key": "<key>",
      "email": null
    },
    "lnpay": {
      "secret-api-key": "<key>"
    }
  },
  "profile": {
    "url": "github.com/rndhouse",
    "employees-count": null,
    "commercial": false,
    "include-voluntary-donations": true
  },
  "extensions": {
    "enabled": {
      "js": true
    },
    "registries": {
      "npmjs.com": "js"
    }
  }
}