In my opinion, almost all applications should use the advanced template, since it provides the right project structure from the very start, so as to immediately handle frontend and backend occurring in every web project.
However, we have also seen that the advanced template requires a console access to execute installation and initialization commands. So, if we have a remote hosting without this capability, it could be difficult for us to install and use Yii with the advanced template.
If we cannot add the console capability to remote hosting, we have two possibilities:
init
command to initialize the project (it could be initialized from start in production mode so that no other changes are needed)Therefore, the project is ready to be uploaded to remote hosting. Remember that project environment is in production mode, but in this way, we do not have to change the configuration manually if we want to pass from development to production mode.
18.119.111.9