Quick question about the cfconfig. I wrote up loc...
# box-products
r
Quick question about the cfconfig. I wrote up local environment setup steps for a colleague with commandbox and the use of server.json and .cfconfig.json files. I mentioned to place the json files in the web root and then start the server from the web root. I mentioned in the steps after to install cfconfig and restart the server. My colleague mentioned that the lucee admin was not configured. I was assuming and thought that I had read that cfconfig will automatically look for .cfconfig.json when the server starts, is that correct?
d
I believe its
.cfconfig.josn
beginning with a dot.
r
Correct, sorry. My mistake in the message, but the steps I wrote out have the dot.
d
d
I'm not sure if there is another way to set the password, but I followed these instructions for the cf admin password. https://cfconfig.ortusbooks.com/using-the-cli/commandbox-server-interceptors/server-start#admin-passwords-on-lucee
r
Thanks, just wanted to confirm
d
i have cfconfig_adminPassword in my .env file
b
@ryan Yes, it should get picked up
The very simple answer here is to have your coworker use the
--verbose
flag when he starts the server and report back the output
👍🏼 1
r
ok, thanks Brad
b
There is debugging in the console which will show you • if CFConfig is installed • What JSON files it loaded • what env vars it imported
👍🏼 1