T
T
topalek2020-05-06 00:50:17
Yii
topalek, 2020-05-06 00:50:17

How can I organize project auto-installation on yii2?

For example, there is a hypothetical project. To deploy it, you need to create a database, raise migrations. How can I organize an automatic (semi-automatic) installation, like wordpress?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2020-05-08
@topalek

If you want to create your own virtualization during installation, then Docker or Vargan will help you with this. Then, using Makefile or SH scripts, you write all the commands and create one main init, which launches the entire project. What do these two things do? Actually nothing special. They simply run the commands you write in the correct order. I think you need it. But using it in conjunction with docker is another matter. Here is a working example.

S
Sanes, 2020-05-06
@Sanes

Ansible for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question