D
D
Denis Kiselev2018-03-05 20:17:47
Yii
Denis Kiselev, 2018-03-05 20:17:47

How to run yii2 project on localhost?

Greetings. I received an archive with a project on yii2, the structure of the archive is below in the screenshot. Tell me how to run this project and see the site on your localhost, MAMP is worth it. From manuals on yii2 did not find the distinct answer.
5a9d7bb6e1b74538070924.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-03-05
@webinar

Go through the contents of common / config / configure everything there, for example, access to the database. Then follow the mistakes. which must first be included in php.ini
Entry points:
frontend/web/index.php
backend/web/index.php
, respectively, the domain should look there
But in general, everything is here:
www.yiiframework.com/doc-2.0/guide- index.html
There is another question, is the docker working there and what is in the mediaten folder.
But why do you need an archive with a yii2 project? If there are problems with the launch, then most likely there will be even more of them later. Maybe you should start not with this project, but create a new one, play around, and then move on to this one?

K
Kirill Nesmeyanov, 2018-03-05
@SerafimArts

So there is a docker.
And that's it. If everything is set up properly, then the entire stack should come up, including the operating system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question