reactiveData/Makefile
2025-06-08 11:54:19 +01:00

13 lines
447 B
Makefile

#!/bin/bash
composer.sync: composer.json
COMPOSER_ALLOW_SUPERUSER=1 composer update > $@ 2>&1
requirements.sync: requirements.txt
pip install -r requirements.txt $@
install:
echo "Add this line to crontab -e"
echo '@reboot /bin/bash /root/DbContinuousIntegration/DbContinuousIntegrationWrapper.sh 2> /dev/null > /dev/null &'
echo
echo 'CREATE TABLE SYS_PRD_BND.Tables (Name, onUpdate_phpCode, onUpdate_pyCode, LastUpdated);' | sudo mysql