This script will setup a sync between websites. To run this script, use the following command (as root):
bash <(curl -s https://raw.githubusercontent.com/namibia/demo-sync/master/sync.sh)
This script performs the following actions:
- Adds a cron entry to run this sync on a scheduled basis.
- Adds folders and databases data to use in scheduled syncs.