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