-
sudo apt-get update && sudo apt-get upgrade
-
sudo apt install git -y
-
curl -sSL https://get.docker.com | sh sudo usermod -aG docker ${USER} sudo systemctl enable docker
-
sudo apt-get install libffi-dev libssl-dev sudo apt install python3-dev sudo apt-get install -y python3 python3-pip
-
sudo pip3 install docker-compose
-
sudo raspi-config -> 3 Interface Options -> I1 Legacy Camera -> <Yes> -> 3 Interface Options -> I5 I2C -> <Yes> -> <Finish>
-
git clone https://github.com/stupidwolfy/Project-Hydroponic-Farm.git
-
- Edit file
docker-compose.yml
- at
HOST_HOSTNAME: ${HOST_HOSTNAME:-raspberrypi}
change "raspberrypi" to your device hostname
- at
- Edit file
services/frontend/.env
- at
VUE_APP_HOST_HOSTNAME=raspberrypi
change "raspberrypi" to your device hostname
- at
- Edit file
-
cd Project-Hydroponic-Farm/ docker-compose up -d
-
Access Frontend : Go to http://raspberrypi.local:8080 or
http://<your-device-hostname>.local:8080
-
Access Backend : Go to http://raspberrypi.local:5000 or
http://<your-device-hostname>.local:5000