|
|
@ -10,7 +10,7 @@ if you have a project to be deployed for production soon. |
|
|
|
Thank you for using Yii 2 Advanced Application Template - an application template |
|
|
|
Thank you for using Yii 2 Advanced Application Template - an application template |
|
|
|
that works out-of-box and can be easily customized to fit for your needs. |
|
|
|
that works out-of-box and can be easily customized to fit for your needs. |
|
|
|
|
|
|
|
|
|
|
|
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and backstage separation, |
|
|
|
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and backend separation, |
|
|
|
deployment in different environments, configuration nesting etc. |
|
|
|
deployment in different environments, configuration nesting etc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -20,18 +20,18 @@ DIRECTORY STRUCTURE |
|
|
|
``` |
|
|
|
``` |
|
|
|
common |
|
|
|
common |
|
|
|
config/ contains shared configurations |
|
|
|
config/ contains shared configurations |
|
|
|
models/ contains model classes used in both backstage and frontend |
|
|
|
models/ contains model classes used in both backend and frontend |
|
|
|
console |
|
|
|
console |
|
|
|
config/ contains console configurations |
|
|
|
config/ contains console configurations |
|
|
|
controllers/ contains console controllers (commands) |
|
|
|
controllers/ contains console controllers (commands) |
|
|
|
migrations/ contains database migrations |
|
|
|
migrations/ contains database migrations |
|
|
|
models/ contains console-specific model classes |
|
|
|
models/ contains console-specific model classes |
|
|
|
runtime/ contains files generated during runtime |
|
|
|
runtime/ contains files generated during runtime |
|
|
|
backstage |
|
|
|
backend |
|
|
|
assets/ contains application assets such as JavaScript and CSS |
|
|
|
assets/ contains application assets such as JavaScript and CSS |
|
|
|
config/ contains backstage configurations |
|
|
|
config/ contains backend configurations |
|
|
|
controllers/ contains Web controller classes |
|
|
|
controllers/ contains Web controller classes |
|
|
|
models/ contains backstage-specific model classes |
|
|
|
models/ contains backend-specific model classes |
|
|
|
runtime/ contains files generated during runtime |
|
|
|
runtime/ contains files generated during runtime |
|
|
|
views/ contains view files for the Web application |
|
|
|
views/ contains view files for the Web application |
|
|
|
www/ contains the entry script and Web resources |
|
|
|
www/ contains the entry script and Web resources |
|
|
@ -107,7 +107,7 @@ the installed application. You only need to do these once for all. |
|
|
|
Now you should be able to access: |
|
|
|
Now you should be able to access: |
|
|
|
|
|
|
|
|
|
|
|
- the frontend using the URL `http://localhost/yii-advanced/frontend/www/` |
|
|
|
- the frontend using the URL `http://localhost/yii-advanced/frontend/www/` |
|
|
|
- the backstage using the URL `http://localhost/yii-advanced/backstage/www/` |
|
|
|
- the backend using the URL `http://localhost/yii-advanced/backend/www/` |
|
|
|
|
|
|
|
|
|
|
|
assuming `yii-advanced` is directly under the document root of your Web server. |
|
|
|
assuming `yii-advanced` is directly under the document root of your Web server. |
|
|
|
|
|
|
|
|
|
|
|