feat: implement Contec patient monitor discovery tool and server framework

This commit is contained in:
2026-07-13 15:54:28 +05:30
parent 5d418c8eb0
commit 3a8710695d
26 changed files with 3881 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
set -e
echo "=== Mindray HL7 Forwarder ==="
# 1. Create a virtual environment if it doesn't exist
if [ ! -d "venv" ]; then
echo "Creating Python virtual environment..."
python3 -m venv venv
fi
# 2. Activate the virtual environment
source venv/bin/activate
# 3. Install dependencies quietly
echo "Checking and installing dependencies..."
pip install -r requirements.txt -q
# 4. Start the server
echo "Starting the application..."
python main.py