Both mac, and XAMPP, are installed. How can Synchronize be efficient?

now I have a problem
if there are two mac
all have xampp installed
but I all set up a web site in A mac
so I will
in A MAC
but I also want to edit the same web site in B MAC
how to make efficient Synchronize?
I think it can be moved to google drive to Synchronize
but the web site must be under the XAMPP directory (of course, that"s why this problem arises)
I opened localhost in A MAC to Synchronize to subscribe to the web site
but I B MAC want to do the same thing, but only if the same project, is implemented?

Mar.14,2021

github learn


it depends on how you define "Synchronize":

  • if you want to edit content, like WordPress, just log in and edit it.
  • if it is not WordPress, you can also consider using the same database to do it.
  • if they are all static pages, the GitHub upstairs can also be considered.
  • if it is a production environment, one can be a host and one can be a reverse proxy and cache.

you can use the hook function of the version control software (both git and svn have this function). After configuration, every time you submit changes, the code will be automatically updated in the site directory (that is, your xampp directory). Please check the information on how to configure it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bef167-31c5c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bef167-31c5c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?