A
A
Alexander2018-03-13 12:43:48
PHP
Alexander, 2018-03-13 12:43:48

How to deploy a simple php project?

There is a simple samopisny project on php+mysql. Everything is stored on bitbucket. Two branches dev and master. The question arose of how to deploy all this on prod. Now it's just that when changing files, it is directly written to the test server. (this is done because I am writing the project alone and it is so convenient for me so far).
But I understand that after the launch of the project it’s impossible to live like this, and I don’t have enough knowledge of how to deploy all this. (I'm a front-end, if anything)
Oh yes, all this is under Windows) I watched Deployer, but under Windows there will be problems with it, it seems to me.
Tell me how to proceed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis, 2018-03-13
@sidni

well, on bitbucket there is such Pipelines functionality, but I think you can hardly configure it, as an option (although it is not very safe) deploy git on prod and shoot directly from git

D
Daniil Kozlov, 2018-03-13
@Kozlovdaniil

Personally, I solved this using circleci.com
In the config file, I added a connection to the server and a pull on the prod.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question