问题
I have working SS v3.4 project locally. Now I want to deploy it. I've copied files to the server, run composer install to install vendor libraries. When I run install.php all requirements are fine except for missing mysite folder errors. That's intended because I renamed my project folder to let's say mydomain and it works fine on localhost. AFAIK SS should pick up the custom folder and recognise it as THE page folder. Somehow it doesn't happen. Any ideas why?
回答1:
This is expected, since the installer specifically looks for "mysite".
You probably have two options:
- Rename
apptomysiteon the serve, re-run the installer then rename the folder back toapp - Don't run the installer at all - if you configure your own
_ss_environment.phpfile and ensureassetsfolder is writeable you shouldn't need it
来源:https://stackoverflow.com/questions/48810203/silverstripe-install-php-cant-find-mysite