Answer the question
In order to leave comments, you need to log in
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
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.
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?
the simplest on the muscle master slave replication to rsync files
, you can also fasten jenkins
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 questionAsk a Question
731 491 924 answers to any question