Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Hera-system/Hera

Repository files navigation

Hera

Ready to run on Heroku. Demo

Deploy

How to start


Install Alerta and follow next steps


Docker

$ git clone https://github.com/Hera-system/Hera.git
$ cd Hera
$ nano docker-compose.yml  # Edit ALERTA_URL to your address
$ sudo docker-compose up

Native

$ pip install -r requirements.txt
$ export ALERTA_URL=https://alerta.com/auth/login  # URL to auth endpoint your Alerta
$ python3 db_create.py
$ python3 wsgi.py

What is it

This is a server management system. It works only after installing the Webhook on your server.

How it works

  1. You are login in Hera using password and email from alerta.
  2. Create template on endpoint /addTemplate.
  3. Confirm template from other account on endpoint /confirmTemplate or skip for admin.
  4. Send the template for execution to the webhook from the /execCommand endpoint.
  5. Wait until execute command.
  6. View result on endpoint /commands.

Docs

Wiki