In order to use a Raspberry Pi you need an OS and setup network. Working with Git repo's and docker is recommended because it is fast to setup and code is stored in the cloud. When a SD card fails you can easaly restore (don't forget to backup data!).
https://www.raspberrypi.org/downloads/raspbian/ https://downloads.raspberrypi.org/raspbian_lite_latest
OsX app: balenaEther
touch /Volumes/boot/ssh
cp wpa_supplicant_example.conf wpa_supplicant.conf (update ssid + password)
cp wpa_supplicant.conf /Volumes/boot/wpa_supplicant.conf
ssh-keygen -R raspberrypi.local
ssh [email protected] (default pw is raspberry)
sudo raspi-config
sudo apt-get update -y
sudo apt-get upgrade -y
https://desertbot.io/blog/headless-raspberry-pi-3-bplus-ssh-wifi-setup
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
sudo groupadd docker
sudo gpasswd -a pi docker
docker run hello-world
sudo apt update
sudo apt install -y python python-pip libffi-dev python-backports.ssl-match-hostname
sudo pip install docker-compose
https://manre-universe.net/how-to-run-docker-and-docker-compose-on-raspbian/
sudo apt-get install git