1
0
mirror of https://github.com/namibia/demo-sync.git synced 2024-11-21 19:15:10 +00:00
Go to file
2020-03-06 16:20:37 +02:00
.gitignore updated the links and values to point to the new repo, and website for this project. 2020-02-25 00:15:56 +02:00
LICENSE improved the setip, added the basic getip 2017-07-21 23:48:24 +01:00
readme.md Converted the text to sync websites. Added the getSyncDBs and getSyncFolders methods te setup the files needed. 2020-03-06 14:42:27 +02:00
sync.sh started adding the sync methods 2020-03-06 16:20:37 +02:00

Sync Websites

This script will setup a sync between websites. To run this script, use the following command (as root):

Run Sync:

bash <(curl -s https://raw.githubusercontent.com/namibia/demo-sync/master/sync.sh)

This script performs the following actions:

  • Adds a cron entry to update run this sync on a scheduled basis.
  • Adds folder and database setup file to use in scheduled syncs