MikroWizard Initial commit | MikroMan Welcome to the world :)

This commit is contained in:
sepehr 2024-07-20 15:48:46 +03:30
commit 8c49b9a55d
96 changed files with 12274 additions and 0 deletions

14
rsync.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# rsync files to server and reload
# HOST: replace with your real data
HOST='pi@192.168.100.10'
echo "RSYNCING in 3secs..."
sleep 3
rsync -av --exclude '.git' --exclude '__pycache__' --exclude '*.pyc' --exclude '*.sqlite' * $HOST:/app/
# ask python server to reload sources
ssh $HOST touch /app/VERSION