39 lines
586 B
Markdown
39 lines
586 B
Markdown
# Hive Emulator
|
|
|
|
## About
|
|
This is a demo project used in the Uni DevOps course
|
|
|
|
## Installation
|
|
|
|
### Run Redis
|
|
```bash
|
|
docker run --name redis -d -p 6379:6379 redis
|
|
```
|
|
|
|
### Map Component
|
|
```bash
|
|
cd src/MapClient
|
|
|
|
npm install
|
|
|
|
npm run dev
|
|
```
|
|
|
|
### Communiction Control
|
|
```bash
|
|
cd src/CommunicationControl
|
|
|
|
dotnet build DevOpsProject/
|
|
```
|
|
|
|
## Usage
|
|
|
|
1. Map Control is available at http://localhost:3000
|
|
2. Redis - Get available keys:
|
|
```bash
|
|
docker exec -it redis redis-cli
|
|
keys *
|
|
get [hiveKey]
|
|
```
|
|
|
|
3. Communication Control Swagger: http://localhost:8080 |