Answer the question
In order to leave comments, you need to log in
How to run YII2 advanced?
Hello. Yesterday I installed Yii2 (framework). At first I tested on basic, but then after reading an article on habrahabr, I realized that without even starting on basic, you need to switch to advanced. Advanced is exactly what I need. I ran into problems... :(
No matter how much I googled, I did not find anything.
1) What are the backend and frontend folders
2) How to run the application, because there is no index.php file anywhere
Answer the question
In order to leave comments, you need to log in
If there is an understanding why advanced is needed, then where do such questions come from?
Formally, here is a link to the turnip, everything is indicated there: https://github.com/yiisoft/yii2-app-advanced/blob/...
A little less formally - the admin panel is placed in the backend, the site itself is placed in the frontend, the general ones are in common classes.
Brief instructions (requires composer and github may ask you to generate a token):
$ composer global require fxp/composer-asset-plugin
$ composer create-project yiisoft/yii2-app-advanced # токен может потребоваться здесь
$ cd yii2-app-advanced
$ ./init # тут отвечаем на вопросы
$ ls frontend/web
$ ls backend/web
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question