Implement patient vital signs monitoring system with Contec CMS7000PLUS integration and real-time dashboard
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user