install/update script

This commit is contained in:
Siwat Sirichai 2022-11-09 22:59:29 +07:00
parent 6511984484
commit 693b363ba2
2 changed files with 10 additions and 0 deletions

6
rpi_install.sh Normal file
View File

@ -0,0 +1,6 @@
sudo apt update
sudo apt install python3 python3-pip
pip3 install -r ./requirements.txt
ln -s ./kuukar.service /etc/systemd/system/kuukar.service
sudo systemctl kuukar enable
sudo systemctl kuukar start

4
rpi_update.sh Normal file
View File

@ -0,0 +1,4 @@
git stash
git pull
cp -fv ../kuukar_config.py ./kuukar/kuukar_config.py
service kuukar restart