autocommit

This commit is contained in:
ALIHAN DIKEL
2024-10-27 23:51:45 +03:00
parent 74e5e87e70
commit 62ed5047c0
2 changed files with 6 additions and 5 deletions

View File

@@ -3,9 +3,10 @@
### working -> for rpi-tello ### working -> for rpi-tello
* init: * init:
* wifi dongle tak & xiaomi uzatıcı tak * wifi dongle tak & xiaomi uzatıcı tak
* ssh on server (.219) * supervisor server process'i başlatır
* sudo su && source venv/bin/activate * start constant puller:
* ./scripts/pull_from_origin.sh && export $(grep -v '^#' env | xargs) && python src/server/server.py * on server
* ./scripts/constant_pull.sh
* run to monitor ups battery stats: * run to monitor ups battery stats:
* on client * on client
* websocat ws://192.168.1.219:8000/ws/stats * websocat ws://192.168.1.219:8000/ws/stats

View File

@@ -4,8 +4,8 @@ while true; do
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..." echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
grc git pull origin refactor/v2 --no-rebase grc git pull origin refactor/v2 --no-rebase
echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..." # echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
grc sudo supervisorctl restart tello-server # grc sudo supervisorctl restart tello-server
echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..." echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..."
sleep 5 sleep 5