Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 663 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 663 Bytes

Hittade server

This is a small Django based web application which parses input JSON files (used redis/valkey for cache) and shows the state of various hosts (Linux hosts) and containers.

LICENSE: BSD-3-Clause

Development setup

sudo systemctl start redis
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements-dev.txt

Alternatively, use Docker:

docker compose build web
docker compose up

To enter the Docker container to run commands, use:

docker compose exec -it web bash

How to add host information from the JSON files?

./manage.py addhost ../2024-12-03/hosts/