Import Settings

Import configuration to a server. If you don't specify a to, we look for a CommandBox server using the current working directory. Only rely on this if you have a single CommandBox server running in the current directory.

cfconfig import myConfig.json
cfconfig import serverNameToImportFrom
cfconfig import to=/path/to/server/home/to/import/from

All the same rules for engine format and version apply.

cfconfig import from=/path/to/.CFConfig.json to=/path/to/server/home toFormat=luceeServer@5.1

The version number can be left off toFormat and fromFormat when reading or writing to a CFConfig JSON file or a CommandBox server since we already know the version. If you don't specify a Lucee web or Server context, we default to server. Use a format of luceeWeb to switch.

cfconfig import from=myConfig.json toFormat=luceeWeb

results matching ""

    No results matching ""