====== Beacon Scripts ====== Developers should run these scripts with ''sudo''. sudo /root/scripts/beaconpublish.sh sudo /root/scripts/beaconsync.sh ===== beaconpublish.sh ===== Used to publish the current state of the website on dev to prod. This includes only html, php, css, etc.. not the database or any dynamically generated content. ==== help ==== beaconpublish.sh Usage: beaconpublish.sh [OPTION]... OPTIONS: -d delete mode, syncs files in delete mode. if a file does not exist on dev, but does exist on prod the file on prod will be deleted. the user will be prompted before any deletions happen -h print this help ===== beaconsync.sh ===== Syncs stuff from prod to dev to make sure dev is a functional environment for development. Sync includes things like images and database. ==== help ==== beaconsync.sh Usage: beaconsync.sh [OPTION] Sync database, images and other stuff from prod to dev. OPTIONS: -h print this help