Getting startedΒΆ
To get started with the OpenHydroponics project, you will need a Raspberry Pi and some basic knowledge of Python programming. Follow these steps to set up your environment:
Set up your Raspberry Pi:
Install the latest version of Raspberry Pi OS on your SD card.
Boot up your Raspberry Pi and complete the initial setup.
Install Python:
Ensure Python is installed on your Raspberry Pi. You can check this by running
python3 --version
in the terminal.If Python is not installed, you can install it using the following command:
sudo apt-get update sudo apt-get install python3
Set up a virtual environment:
It is recommended to use a virtual environment to manage your Python packages. Create a virtual environment with:
python3 -m venv openhydroponics-env
Activate the virtual environment:
source openhydroponics-env/bin/activate
Install required Python packages:
Navigate to the project directory and install the required packages using pip:
pip install git+https://gitlab.com/openhydroponics/sw/openhydroponics.git
Run the project:
You can now run the OpenHydroponics software using:
python main.py
By following these steps, you should have a working setup of the OpenHydroponics project on your Raspberry Pi.