H
H
habrdima2018-07-24 17:03:42
Database
habrdima, 2018-07-24 17:03:42

How to update the site correctly without deleting files?

In general, there is a site on a local open server, the site uses wordpress, there is a copy of the site on the hosting,
on the local, for example, I update something, improve, etc., the task is to transfer updates to the hosting, how is this done correctly and quickly?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rikcon, 2018-07-24
@Rikcon

https://en.wikipedia.org/wiki/Git ?

D
Doc44, 2018-07-24
@Doc44

this is called Continuous Delivery
is often paired with Continuous Integration,
but it seems to me that this is too much for a small project - it is quite possible to do it manually.

Y
Yan-s, 2018-07-24
@Yan-s

If not Git (but git is correct, but you never know what you have there with hosting), then there are tools for deploying via FTP. In the same phpstorm there is.
Quite for the lazy, a stupid option - we take an FTP client, for example Filezilla, open the directory with the project on the server, copy the project files into it, Filezilla will ask what to do with the matching files, select the option "replace if the size and modification date are different"

P
Puma Thailand, 2018-07-24
@opium

Via git

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question