MikroWizard Initial commit | MikroMan Welcome to the world :)
This commit is contained in:
commit
8c49b9a55d
96 changed files with 12274 additions and 0 deletions
14
rsync.sh
Executable file
14
rsync.sh
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue