-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this kit with only one entry point? #653
Comments
You can always use the single domain installation instructions, which is done considering a Nginx server. In most cases this servers are built with Apache, so the Nginx example won't work. But, there's an extensive example on the Yii2 forums: https://www.yiiframework.com/wiki/799/yii2-app-advanced-on-single-domain-apache-nginx about the process for a similar application on Apache/Nginx. |
This starter kit causes errors when installing in single domain mode (assets problems, storage paths erc.). Instructions ate not complete/clear. The Yii2 advanced project template structure is very specific and complicated for implementing on most of environments., it is outdated and should be abandoned in favour of more clear app structure. It would be nice to have this starter kit more flexible, because installing it on single domain mode is not suitable, because of hardcoded paths or folder structure. |
So, what do you suggest? To improve the project structure? the docs for single domain installation? |
Current docs really not full and I think it will be too complicated to use this application in "Yii2-app-basic"-way (with one entry script for web application). I have tried to install this kit in one-domain environment (folowing the docs) and got fail with a lot of errors. Maybe, it would be nice to create separate repo for this starter kit, or split branches for Advanced template and Basic template structure? |
What should be the folder structure for projects, which have only one entry point for web and there is not possible to change server configs? How to install this kit in such environment, where there is only one public folder for web, like /webhosting/account/project.com/www. Project files can be stored under /webhosting/account/project.com. It should be like Yii2 App Basic structure, but this starter kit is very complicated and has separated applications (api, backend, frontend).
Maybe there are alternative setups/templates or other starter kits, which implements Yii2 App Basic structure with one public_html folder?
The text was updated successfully, but these errors were encountered: