question about commandbox, can it be used to manag...
# box-products
t
question about commandbox, can it be used to manage an existing ColdFusion installation or does it only work with it's embeded server. ex I'd love to use it to manage datasources of an existing cf installation via the CLI
r
You should be able to manage datasources using the cfconfig package and the import and export parameters. It works with a commandbox server or a filepath to a server home.
1
t
cool
b
To be clear, CFConfig is s separate thing from CommandBox. It's a module you can install that provides CLI-based functionality.
And while it works seamlessly with a CommandBox server, it can be pointed at any server home visible on disk or a network drive
@Tyler Clendenin
t
thank you. It worked exactly as I hoped
👍 1
so I have what I want, though i do wonder about the original question, does comandbox work in such a way that I can created a named server that points to my manual installation? I don't know too much of the internals, but I kinda assume not. I'm wondering for future possible use cases. I'm dealing with the CF AMIs, so I'm not really responsible for the license nor the installation
b
@Tyler Clendenin I'm not quite sure what you're asking for. CFConfig is a tool that can work on any server. If you ask CommandBox specifically to start a server, it will take care of the entire deployment. CommandBox's server commands (outside of CFConfig) aren't going to do anything with a traditional Tomcat-installed server
t
that is what I thought, thank you