Get System information through API
- Install Python 3.10
- Create a virtual environment
python -m venv .venv
- Activate the virtual environment
source .venv/bin/activate
- Install poetry
pip install poetry
- Install dependencies
poetry install
- Create a MYSQL database with the name
hpds
mysql -u root -p CREATE DATABASE hpds;
- Install the database
alembic upgrade head
- Run the server
uvicorn app.main:app --reload
- Install Docker
- Copy
.env.example
to.env
- Run the following command
docker-compose up -d
The API documentation is available at http://localhost:8000/docs
agent is available at https://github.com/mortezasaki/hpds_agent