/hpds_server

Get System information through API

Primary LanguagePythonApache License 2.0Apache-2.0

HPDS Server

Get System information through API

Installation

  1. Install Python 3.10
  2. Create a virtual environment
     python -m venv .venv
  3. Activate the virtual environment
     source .venv/bin/activate
  4. Install poetry
     pip install poetry
  5. Install dependencies
     poetry install
  6. Create a MYSQL database with the name hpds
     mysql -u root -p
     CREATE DATABASE hpds;
  7. Install the database
    alembic upgrade head
  8. Run the server
    uvicorn app.main:app --reload

Installation with Docker

  1. Install Docker
  2. Copy .env.example to .env
  3. Run the following command
    docker-compose up -d

API Documentation

The API documentation is available at http://localhost:8000/docs

For each system you need to install agent

agent is available at https://github.com/mortezasaki/hpds_agent