Hello,
You don't need to generate any special directory structure, just create an empty .config folder in the home of the user webserver and set it as 777. As this folder path depends on the server config, you can use PHP to get the home folder. We also recommend you to check the option 'script' to run the transformation as using the PHP CLI mode.
Regards.