This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir private && | |
ddev composer config extra.typo3/cms.root-dir private && | |
ddev composer config extra.typo3/cms.web-dir public && | |
ddev composer require helhum/typo3-secure-web && | |
mv public/typo3conf/{AdditionalConfiguration.php,LocalConfiguration.php,PackageStates.php} private/typo3conf && | |
cp -r public/fileadmin/ private/fileadmin && rm -rf public/fileadmin/ && cd public && ln -s ../private/fileadmin fileadmin && cd .. && | |
rm -rf public/typo3temp/* && cd public/typo3temp && ln -s ../../private/typo3temp/assets assets && cd ../.. |