#!/bin/bash echo "##" echo "## launch > yankee > downloader node provisioning" echo "##" apt update sudo apt install git -y sudo apt install pip -y pip install stomp.py pip install selenium ## for rest situations pip install requests ## #### cd / git clone https://code.yankee.embanet.online/yankee/yankee-gnome-fire-consumer.git chmod 777 yankee-gnome-fire-consumer -R cd yankee-gnome-fire-consumer chmod +x *.bash chmod +x *.sh bash provision.bash pppwd=`pwd` echo " dir / "$pppwd ##echo "python3 $pppwd/consumer.py" | at now + 1 minutes ##echo "/yankee/go.sh" | at now + 10 minutes ####