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
* init:
* wifi dongle tak & xiaomi uzatıcı tak
* ssh on server (.219)
* sudo su && source venv/bin/activate
* ./scripts/pull_from_origin.sh && export $(grep -v '^#' env | xargs) && python src/server/server.py
* supervisor server process'i başlatır
* start constant puller:
* on server
* ./scripts/constant_pull.sh
* run to monitor ups battery stats:
* on client
* 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'..."
grc git pull origin refactor/v2 --no-rebase
echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
grc sudo supervisorctl restart tello-server
# echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
# grc sudo supervisorctl restart tello-server
echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..."
sleep 5