Welcome to my personal homelab setup! This repository contains all the Pyinfra code I use to configure and manage my Raspberry Pi 4, Raspberry Pi Zero W, and RackNerd server.
- Python 3.8+
- SSH access to the hosts
-
Clone the Repository:
git clone https://github.com/MarcOrfilaCarreras/homelab.git cd homelab
-
Install dependencies:
pip install -r requirements.txt
-
Copy and configure environment and inventory files:
-
Copy the .env file:
cp env.example .env
-
Copy the inventory/production.py file:
cp inventory/production.py.example inventory/production.py
-
Run the deployment.
pyinfra inventory/production.py deploys/setup.py --yes --config config.py
Distributed under the MIT License. See LICENSE.md
file for more information.