J
J
Jedi2017-07-13 18:51:12
Yii
Jedi, 2017-07-13 18:51:12

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

2 answer(s)
A
Alexander Novikov, 2017-07-13
@PHPjedi

https://yii2-framework.readthedocs.io/en/latest/gu...

A
Alexey Blyshko, 2017-07-13
@nekt

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 question

Ask a Question

731 491 924 answers to any question