Industrial Automation Platform for Modern Logistics
IntralogisticsAI is a comprehensive industrial automation platform that combines enterprise resource planning (ERP) with real-time programmable logic controller (PLC) integration. Built on the proven Frappe/ERPNext foundation, it delivers seamless connectivity between business processes and industrial automation systems.
- Enterprise ERP: Complete business management with Frappe/ERPNext
- Industrial Integration: Real-time PLC communication via MODBUS TCP
- Visual Programming: OpenPLC environment for ladder logic development
- Real-time Monitoring: Live dashboard for industrial signals and processes
- Containerized Deployment: Docker-based architecture for easy scaling
- Educational Ready: Perfect for logistics and automation education
IntralogisticsAI integrates multiple components:
- EpiBus: Custom Frappe app providing MODBUS/TCP communication
- OpenPLC: Industrial programming environment with MODBUS TCP server
- PLC Bridge: Real-time communication service between ERP and PLCs
- React Dashboard: Modern frontend for monitoring industrial processes
- Docker and Docker Compose
- Git
- 8GB+ RAM recommended
Windows Users:
- Docker Desktop for Windows with WSL2 backend
- Windows Subsystem for Linux 2 (WSL2)
- Git for Windows or use Git within WSL2
- See Windows Installation Guide for detailed setup instructions
-
Clone the repository
git clone https://github.com/appliedrelevance/intralogisticsai cd intralogisticsai -
Configure environment
cp example.env .env # The .env file is pre-configured with optimal settings -
Deploy the complete stack
# Complete industrial automation platform ./deploy.sh with-plc # Training lab environment with custom domains ./deploy.sh lab # Web deployment with real domains ./deploy.sh web [yourdomain.com]
The deployment script will:
- β Auto-detect your platform (macOS Intel/ARM, Linux)
- β Build custom Docker images with EpiBus integration (with smart caching)
- β Deploy Frappe/ERPNext ERP system with network resilience
- β Install and configure EpiBus automation app (with retry logic)
- β Start OpenPLC simulator with MODBUS TCP server
- β Initialize PLC Bridge for real-time communication
- β
Create site (
intralogistics.localhost) with admin user - β Configure all networking and dependencies
First deployment: ~5-10 minutes
Subsequent deployments: ~1-2 minutes (using cached images)
After deployment, access the platform:
- IntralogisticsAI Web Interface:
http://localhost:[port](shown in deployment output) - OpenPLC Programming Environment:
http://localhost:[port](shown in deployment output) - Login Credentials: Username
Administrator, Passwordadmin - OpenPLC Credentials: Username
openplc, Passwordopenplc
- Access the web interface and login
- Navigate to standard ERPNext modules (Sales, Inventory, etc.)
- Use the EpiBus module for industrial automation features
- Access OpenPLC web interface
- Create ladder logic programs
- Upload and start programs to activate MODBUS TCP server
- Monitor real-time I/O through the web interface
- Configure MODBUS connections in EpiBus
- Define signal mappings between ERP and PLC
- Set up automated actions triggered by ERP events
- Monitor real-time data flow in the dashboard
The deployment script includes smart image caching and cross-platform support with automatic retry logic for network issues.
# Quick deployment (uses cached images)
./deploy.sh lab
# Force rebuild (rebuilds all images)
./deploy.sh lab --rebuildComplete training lab with custom domains and real PLC connectivity:
- ERPNext Interface:
http://intralogistics.lab - OpenPLC Simulator:
http://openplc.intralogistics.lab - Traefik Dashboard:
http://dashboard.intralogistics.lab - MODBUS TCP:
localhost:502(for real PLC connections) - PLC Bridge:
localhost:7654(real-time events)
Configure local domains in /etc/hosts:
127.0.0.1 intralogistics.lab openplc.intralogistics.lab dashboard.intralogistics.lab
# Deploy with default domain (intralogisticsai.online)
./deploy.sh web
# Deploy with custom domain
./deploy.sh web yourdomain.com
# Force rebuild
./deploy.sh web yourdomain.com --rebuildProduction deployment with real domain and subdomains:
- ERPNext Interface:
http://yourdomain.com - OpenPLC Simulator:
http://openplc.yourdomain.com - Traefik Dashboard:
http://dashboard.yourdomain.com - MODBUS TCP:
yourdomain.com:502(for real PLC connections) - PLC Bridge:
yourdomain.com:7654(real-time events)
# Smart deployment with caching
./deploy.sh with-plc
# Force fresh build
./deploy.sh with-plc --rebuildIncludes ERP, PLC simulator, and all automation features with platform-aware optimizations.
./deploy.sh with-epibusERP with automation capabilities, no PLC simulator.
./deploy.shStandard Frappe/ERPNext without industrial features.
- β Smart Image Caching: Skips rebuilds when images exist (5-10min β 1-2min)
- β Cross-Platform Support: Auto-detects macOS (Intel/ARM) and Linux
- β Network Resilience: 3-attempt retry logic for network timeouts
- β Docker Health Checks: Automatic Docker restart if needed
- β Robust EpiBus Installation: 60-attempt retry with intelligent backoff
# View all options and examples
./deploy.sh --help
# Force rebuild of custom images
./deploy.sh lab --rebuild
./deploy.sh with-plc --force-rebuildFor development and customization:
# View service logs
docker compose logs -f backend
docker compose logs -f plc-bridge
docker compose logs -f openplc
# Access backend container
docker compose exec backend bash
# Reset and redeploy
docker compose down --volumes
./deploy.sh with-plc- Complete Documentation - Full documentation index
- Quick Start Guide - Get running in minutes
- Training Lab Setup - Multi-workstation configuration
- EpiBus Integration - Industrial automation guide
- OpenPLC Programming - PLC simulation and programming
- Troubleshooting - Common issues and solutions
IntralogisticsAI is designed for educational institutions teaching:
- Industrial automation and control systems
- Logistics and supply chain management
- Enterprise resource planning (ERP)
- MODBUS communication protocols
- Docker containerization and microservices
This project builds upon several open-source components:
- Frappe Framework (MIT License)
- ERPNext (GPL v3)
- OpenPLC (GPL v3)
See LICENSE for complete license information.
IntralogisticsAI is developed by Applied Relevance for educational and industrial applications. It bridges the gap between enterprise software and industrial automation, making advanced logistics concepts accessible for learning and implementation.
Ready to revolutionize your industrial automation education? π