Getting Started with HOMEPOT¶
Welcome to HOMEPOT (Homogenous Cyber Management of End-Points and OT). This guide provides a straightforward path to getting the system up and running using our automated scripts.
Prerequisites¶
Before starting, ensure your system meets the following requirements:
- Operating System: Linux (Ubuntu 22.04+ recommended) or macOS.
- Git: Installed and configured.
- Package Manager:
- macOS: Homebrew is required for automated installation of dependencies.
- Linux:
apt(for Ubuntu/Debian).
- Python: Version 3.11 or higher.
- Node.js: Version v22.
- (Note: Our install script will attempt to install this automatically if missing.)
- Ollama (Required for AI Features):
- Option A (Automated): Run
./scripts/setup-ollama.sh(uses Homebrew on Mac). - Option B (Manual): Install from ollama.com and pull the
llama3.2model manually.
- Option A (Automated): Run
Quick Start Guide¶
Follow these three steps to launch the complete HOMEPOT system.
Step 1: Install Dependencies¶
Make scripts executable and run the installer. This script sets up the Python virtual environment, installs backend/AI dependencies, and automatically installs/configures Node.js and frontend dependencies.
Note: If you haven't installed Ollama yet, run the AI setup script next. On macOS, this will use Homebrew to install Ollama and pull the required model.
Step 2: Initialize Database¶
Initialize the PostgreSQL database with the required schema and demo data. This script detects your local PostgreSQL installation (via Homebrew on macOS or system packages on Linux) and ensures the service is running before creating the database.
Note: This setup uses a local PostgreSQL instance and does not require Docker.
Step 3: Start the Application¶
Use the following command to ensure any previous instances are stopped before starting the new session. This launches both the backend API and the frontend dashboard.
What's Next?¶
Once the system is running, you can access:
- Dashboard: http://localhost:5173
- API Documentation: http://localhost:8000/docs
For detailed development information, refer to the Development Guide.