|
| 1 | +# 🌐 Hermes Core Repository |
| 2 | + |
| 3 | +Welcome to the **Hermes Core Repository**! |
| 4 | +This repository contains the core components of the **Hermes Situation Room** project, including the backend, frontend, and Docker setup for both development and production environments. |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## 📘 Table of Contents |
| 9 | + |
| 10 | +1. [Project Overview](#project-overview) |
| 11 | +2. [Repository Structure](#repository-structure) |
| 12 | +3. [Development Setup](#development-setup) |
| 13 | + - [Prerequisites](#prerequisites) |
| 14 | + - [Backend Development](#backend-development) |
| 15 | + - [Frontend Development](#frontend-development) |
| 16 | +4. [Docker Setup](#docker-setup) |
| 17 | + - [Services](#services) |
| 18 | + - [Running the Services](#running-the-services) |
| 19 | + - [Pulling the Latest Images](#pulling-the-latest-images) |
| 20 | + - [Stopping the Services](#stopping-the-services) |
| 21 | +5. [Contributing](#contributing) |
| 22 | +6. [License](#license) |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## 🛰️ Project Overview |
| 27 | + |
| 28 | +The **Hermes Situation Room** is a platform designed to provide **real-time situational awareness** and support **decision-making** capabilities. |
| 29 | + |
| 30 | +It consists of: |
| 31 | +- **Frontend** — a user-friendly web interface for interacting with the platform. |
| 32 | +- **Backend** — a robust API handling data processing, storage, and business logic. |
| 33 | +- **Database** — a Microsoft SQL Server instance for data persistence. |
| 34 | + |
| 35 | +This repository contains all the necessary code and configurations to develop, test, and deploy the platform. |
| 36 | + |
| 37 | +--- |
| 38 | + |
| 39 | +## 📂 Repository Structure |
| 40 | + |
| 41 | +``` |
| 42 | +core/ |
| 43 | +├── LICENSE # License file |
| 44 | +├── .github/workflows/ # CI/CD workflows for GitHub Actions |
| 45 | +│ ├── docker-build-publish-backend.yml |
| 46 | +│ ├── docker-build-publish-frontend.yml |
| 47 | +│ └── quality-gate.yml |
| 48 | +├── docs/ # Documentation files |
| 49 | +│ └── .gitkeep |
| 50 | +├── src/ # Source code |
| 51 | +│ ├── backend/ # Backend services |
| 52 | +│ │ ├── Hermes.SituationRoom.Data/ |
| 53 | +│ │ ├── Hermes.SituationRoom.Domain/ |
| 54 | +│ │ ├── Hermes.SituationRoom.Shared/ |
| 55 | +│ │ ├── Hermes.SituationRoom.Web/ |
| 56 | +│ │ └── Hermes.SituationRoom.Web.sln |
| 57 | +│ └── frontend/ # Frontend services |
| 58 | +└── compose.yaml # Docker Compose configuration |
| 59 | +``` |
| 60 | + |
| 61 | +--- |
| 62 | + |
| 63 | +# 🧠 Hermes Situation Room — Development Setup |
| 64 | + |
| 65 | +Welcome to the **Hermes Situation Room** development guide. |
| 66 | +Follow these steps to get your environment up and running smoothly. |
| 67 | + |
| 68 | +--- |
| 69 | + |
| 70 | +## 🧰 Prerequisites |
| 71 | + |
| 72 | +Before starting, make sure you have the following installed: |
| 73 | + |
| 74 | +1. **Docker** — Installed and running. |
| 75 | +2. **.NET SDK** — Required for backend development. |
| 76 | +3. **Node.js** — Required for frontend development. |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## ⚙️ Backend Development |
| 81 | + |
| 82 | +1. Navigate to the backend directory: |
| 83 | + ```bash |
| 84 | + cd src/backend |
| 85 | + ``` |
| 86 | + |
| 87 | +2. Open the solution file in your IDE: |
| 88 | + ``` |
| 89 | + Hermes.SituationRoom.Web.sln |
| 90 | + ``` |
| 91 | + |
| 92 | +3. Run it locally in a Docker container: |
| 93 | + ```bash |
| 94 | + docker compose up --build -d |
| 95 | + ``` |
| 96 | + |
| 97 | +--- |
| 98 | + |
| 99 | +## 💻 Frontend Development |
| 100 | + |
| 101 | +1. Navigate to the frontend directory: |
| 102 | + ```bash |
| 103 | + cd src/frontend |
| 104 | + ``` |
| 105 | + |
| 106 | +2. Install dependencies: |
| 107 | + ```bash |
| 108 | + yarn install |
| 109 | + ``` |
| 110 | + |
| 111 | +3. Start the frontend: |
| 112 | + ```bash |
| 113 | + yarn start |
| 114 | + ``` |
| 115 | + |
| 116 | +--- |
| 117 | + |
| 118 | +## 🐳 Docker Setup |
| 119 | + |
| 120 | +The project uses **Docker** for both development and production environments. |
| 121 | +The Docker Compose configuration is located in: |
| 122 | + |
| 123 | +``` |
| 124 | +delivery/compose.yaml |
| 125 | +``` |
| 126 | + |
| 127 | +### 🧩 Services |
| 128 | + |
| 129 | +| Service | Description | |
| 130 | +|-----------------|----------------------------------------| |
| 131 | +| `frontend-prod` | Production-ready frontend service | |
| 132 | +| `api-prod` | Production-ready backend service | |
| 133 | +| `mssql-prod` | Microsoft SQL Server database | |
| 134 | + |
| 135 | +--- |
| 136 | + |
| 137 | +## 🚀 Running the Services |
| 138 | + |
| 139 | +Navigate to the delivery directory: |
| 140 | +```bash |
| 141 | +cd delivery |
| 142 | +docker compose up --build |
| 143 | +``` |
| 144 | + |
| 145 | +Once running, access the services: |
| 146 | + |
| 147 | +- **Frontend:** [http://localhost:13400](http://localhost:13400) |
| 148 | +- **Backend (Swagger):** [http://localhost:13500/swagger](http://localhost:13500/swagger) |
| 149 | + |
| 150 | +--- |
| 151 | + |
| 152 | +## 🛑 Stopping the Services |
| 153 | + |
| 154 | +To stop all running containers: |
| 155 | +```bash |
| 156 | +docker compose down |
| 157 | +``` |
| 158 | + |
| 159 | +--- |
| 160 | + |
| 161 | +## 🤝 Contributing |
| 162 | + |
| 163 | +We welcome contributions to the **Hermes Situation Room** project! |
| 164 | + |
| 165 | +### Steps to Contribute |
| 166 | + |
| 167 | +1. Fork the repository. |
| 168 | +2. Create a new branch for your feature or bugfix. |
| 169 | +3. Submit a pull request with a clear and detailed description of your changes. |
| 170 | + |
| 171 | +--- |
| 172 | + |
| 173 | +## 📄 License |
| 174 | + |
| 175 | +This project is licensed under the terms of the **LICENSE** file. |
| 176 | + |
| 177 | +For questions or issues, please open an issue in this repository. |
| 178 | + |
| 179 | +--- |
| 180 | +✨ _Built with passion by the Hermes Team_ |
0 commit comments