autocommit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user