-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·25 lines (20 loc) · 779 Bytes
/
Copy pathsetup.sh
File metadata and controls
executable file
·25 lines (20 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set -x
sudo apt update
sudo apt upgrade -y
sudo apt -y install python3-rpi.gpio python3-flask git imagemagick
sudo apt -y install python3-opencv python3-arrow python3-picamera2
sudo apt -y install gunicorn3
sudo apt -y install ffmpeg
# Install BTBerryWifi
curl -L https://raw.githubusercontent.com/nksan/Rpi-SetWiFi-viaBluetooth/main/btwifisetInstall.sh | bash
git clone https://github.com/naturebytes/Naturebytes-RaspPi-Dev.git
cd Naturebytes-RaspPi-Dev
cd etc
sudo cp systemd/*.service /etc/systemd/system
sudo chmod 644 /etc/systemd/system/camera.service
sudo systemctl start camera.service
sudo systemctl enable camera.service
sudo chmod 644 /etc/systemd/system/web.service
sudo systemctl start web.service
sudo systemctl enable web.service
sudo systemctl daemon-reload