Answer the question
In order to leave comments, you need to log in
Deployer for running php project?
Given:
- the project is deployed locally, the branches are merged into the dev branch and sent to the repository
- 2 projects are deployed on the remote server (prod and dev)
- I do it on the dev project git pull <remote_alias> dev
and pull the migrations by hand + update the composer, roll the fixtures
- prod-project for now which is idle, but would do this - after testing the dev branch, I would merge it into master and master, by analogy, would pull it to the prod server.
Ready for normal deployment + labor market dikutet.
I want to install Deployer. So that you don’t have to assemble this whole thing with your hands.
The questions are:
Answer the question
In order to leave comments, you need to log in
1. It’s better to practice on a test server, since Deployer, unlike the git, can easily write: under the root where he wants in general, and under www-data in any neighboring project if desired. So it must be used with caution.
2. Deployer is just a tool, you can write any, absolutely any commands to be executed on the server, you just need some knowledge of Linux commands.
3. The code of all standard recipes is right there, you can optionally remove them from execution and include your own ones.
4. It is better to immediately install Deployer for execution from the command line: dep deploy
for Windows, this is done through a wrapper - a BAT file.
5. There are recipes for almost any task, you can just peep the code and write your own implementation.
PySy. According to the fixtures, just create a task with the launch of a command on a remote server and that's it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question