S
S
StreetAngel2011-06-12 11:19:55
PHP
StreetAngel, 2011-06-12 11:19:55

Web project synchronization

Tell me how to synchronize a project (PHP) and a database (MySql) on several local computers via a web server.

PS By analogy with the plugin for synchronizing bookmarks and passwords Xmarks, only files and databases should be synchronized

Answer the question

In order to leave comments, you need to log in

7 answer(s)
H
holyorb2, 2011-06-12
@holyorb2

svn/git?

A
Alexander Rudevich, 2011-06-12
@rudevich

rsync :)

@
@resurtm, 2011-06-12
_

If you mean updating the database as the project develops on the developers' computers and on the production server (as far as I understood from the vague wording of the question), then it is done through migrations + Ant / Phing / Maven script.

D
dorian, 2011-06-12
@dorian

It's kind of foggy. Do you need to upload from one local machine to the server, and from it to another local machine?
Or a part from one local. and upload a part from the other to the server?

A
AndrewStephanoff, 2011-06-12
@AndrewStephanoff

you can use Ant or write a deploy script yourself

P
Puma Thailand, 2011-06-12
@opium

the simplest on the muscle master slave replication to rsync files
, you can also fasten jenkins

Y
yumitsu, 2011-06-13
@yumitsu

For PHP - any convenient SCM (SVN / Git / Mercurial), for the database - use some kind of migration solution, or write your own simple analogue. For example, store the necessary changes in files, and keep a list of already completed migrations in a separate file (for example, .migrations).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question