Does anyone know if their is a simple procedure fo...
# adobe
j
Does anyone know if their is a simple procedure for moving the CF install directory without doing a fresh install into the new location? I know there are probably a ton of registry keys and the windows service all would need updated so I'm assuming not. Trying to lockdown.
l
why don't you use cfconfig
to extract all settings
install to new location
and import the settings
j
Would I have to rebuild the IIS connectors?
l
Yes
that's outside the scope
of the cfml engine settings
j
Thank you - I'll check it out!
l
If you hit any snags, let us know
👍 1
b
@Jason Roozee This is where using CommandBox can really help make your setup portable. With 3 JSON files •
server.json
box.json
(optional) •
.cfconfig.json
you can simplify an entire set up web server from scratch down to
Copy code
git clone ...
box install // only if using box.json to pull depednencies
box server start
and you're off. CommandBox contains a fully featured pure Java webserver supporting pretty much anything you're using IIS for.
Those JSON files capture • what version of Java to run on • what CF engine/version to run on • all JVM args • ports • SSL • host bindings • URL rewrites • custom error pages • secure lockdowns • all 3rd party dependencies like ColdBox framework, or other modules from forgebox, or even jar files from Maven • All settings in the CF admin like datasources, mail servers, request timeouts, debugging, etc, etc It's 100% automated setup and install.