Complete guide to install and configure MediNet in your local or production environment. Includes central server setup and hospital client configuration.
Essential steps to get MediNet running
Clone the repository from GitHub
Run the automated installation script
Docker containers start automatically
Minimum and recommended specifications
MediNet client configuration
Clone the official MediNet Client repository from GitHub:
git clone https://github.com/isglobal-brge/MediNetClient
cd medinet
Execute the automated installation script that will set up Docker containers and start all services:
# Make the script executable (Linux/Mac only)
chmod +x install.sh
# Run the installation script
./install.sh
What does the script do?
Check that all Docker containers are running correctly:
# Check running containers
docker ps
# View client logs
docker-compose logs -f client
Hospital and medical center simulation
Servers are hospitals or medical centers that participate in federated training. Each Server:
Clone the official MediNet Client repository from GitHub::
git clone https://github.com/isglobal-brge/MediNetServer
Navigate to the Server folder within the MediNet repository:
# Navigate to server directory
cd server
Execute the automated server installation script:
# Make script executable (Linux/Mac only)
chmod +x install.sh
# Run Server installation
./install.sh
Check that the Server Docker container is running:
# Check Server container status
docker ps
# View server logs
docker logs medinet-server
Verify everything works correctly
Minimum configuration to test MediNet:
Complete multi-hospital simulation:
Check that everything works:
Common problems and their solutions
Problem: "Error: That port is already in use"
Solution:
# Use different port
python manage.py runserver 8080
# Or find process using the port
netstat -ano | findstr :8000 # Windows
lsof -i :8000 # macOS/Linux
Problem: "ModuleNotFoundError: No module named 'django'"
Solution:
# Verify that venv is activated
which python # macOS/Linux
where python # Windows
# Reinstall dependencies
pip install -r requirements.txt
Problem: Client cannot connect to server
Solution:
# Verify that server is running
curl http://localhost:8000
# Verify correct port
python client_api.py [correct_port]
# Check firewall/antivirus
Problem: Database-related errors
Solution:
# Reset database
python manage.py flush
# Recreate migrations
python manage.py makemigrations
python manage.py migrate
Considerations for production environments
The above instructions are for local development and testing. For production deployment in real hospitals, additional security configuration, SSL certificates, and regulatory compliance are required. We are currently working on security systems to obtain ISO certifications and comply with healthcare regulations.
Follow these steps and you'll have MediNet running in minutes