Getting Started

This guide will walk you through the steps to get the Huntsman up and running using Docker Compose.

Prerequisites

  • Docker Engine (version 20.10+)

  • Docker Compose (version 2.0+)

  • Git

Installation

  1. Clone the Repository

    git clone https://github.com/aj-tap/huntsman
    cd huntsman
    
  2. Configure Environment

    Huntsman requires API keys for services like VirusTotal and Shodan.

    Tip

    Start by copying the sample configuration file.

    cp .env_sample .env
    

    Edit the .env file and add your specific API keys.

  3. Build and Run

    Launch the entire stack (Django, Celery, Redis, SuperDB) in detached mode:

    docker compose up --build -d
    
    • --build: Forces a rebuild of the Docker images.

    • -d: Runs containers in the background.

Verification

Once the containers are running, verify the installation by checking the health endpoint:

curl http://localhost:8000/api/health/

Expected Output:

{
  "database": {"status": "ok", "message": "Database connection successful."},
  "celery_redis": {"status": "ok", "message": "4 Celery worker(s) responded."}
}

Stopping the Application

To stop and remove the containers:

docker compose down

Next Steps

Now that the backend is running, explore the user interface.