I
I
Igor Koltun2017-10-24 00:40:32
PHP
Igor Koltun, 2017-10-24 00:40:32

What is the best way to implement deploy for PHP (Yii2+Angular2)?

There is an application on the PHP framework Yii2 in conjunction with Angular2.
Now there are three copies of the project on one server (it can increase up to 5) - this is how it is necessary (separate directories, different databases) and there is a certain delay when manually updating the code.
You need to do a simple code update (git pull) in all directories, as well as migrations, installing Yii components (composer install) and Angular (npm install, ng build) - most likely to do this using a script or a deployer program on the same server. There are no autotests yet.
I tried deployer , but it has not been possible to configure yet. Although there is documentation, some points are not quite clearly described.
Perhaps someone can share their experience on how best to implement deploy in this case?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Skobkin, 2017-10-24
@skobkin

- Deployer
- Capistrano
- Rocketeer
- any other deploy tool
"Unable to set up" is not a problem.
Ask for specifics. You have a very broad question that cannot be properly answered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question