- Frontend: Production-ready (changes require rebuild)
- Backend: Development-ready (changes apply immediately)
- MQTT Broker: mosquitto (running on localhost:1883). Config in
django_mqtt.pyandtest_sending_to_mqtt.py
⚠️ Requires Docker Desktop
# 1. Clone and navigate to project. All commands should be run from the root directory (where the `compose.yaml` file is located)
git clone https://github.com/sondhg/agv-fullstack.git
cd agv_fullstack
# 2. Start application in detached mode (remove `-d` if you wanna see terminal logs)
docker compose up -d
# 3. Access frontend at http://localhost:8080
# Backend runs at http://localhost:8000 but direct access not needed
# 4. Stop application when done
docker compose down- Access app at http://localhost:8080
- Toggle sidebar with
Ctrl+Bor navigate withCtrl+K
-
Register & Login (required for all features)
-
Create Map Data
- Navigate to Map page → Download sample CSVs
- Import both CSV files → Show map image
-
Create Orders
- Navigate to Orders page → Download sample CSV
- Import CSV file with order data
-
Configure AGVs
- Navigate to AGVs page → Create AGVs
- Ensure
preferred_parking_nodematches an order'sparking_node - Click "Dispatch orders to AGVs"
-
Simulate AGV Movement (to mimic AGVs communicating with MQTT broker)
python test_sending_to_mqtt.py
- Enter AGV ID and position when prompted
- The script publishes
agv_idandcurrent_nodeto topicagvdata/{agv_id}and receives server instructions from topicagvroute/{agv_id} - Press
Enterto continue,Ctrl+Cto exit