Skip to content

Commit d7765be

Browse files
authored
Merge pull request #556 from Bisk1/start-broker-bat
Add start-broker script for Windows
2 parents 6e8f2bf + c5e6768 commit d7765be

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

start-broker.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@echo off
2+
rem Simplified Windows version of start-broker.sh
3+
rem Moquitto broker not supported, only Python Interopability Broker
4+
echo "Installing and starting Python Interop Broker."
5+
if not exist "paho.mqtt.testing" (
6+
git clone https://github.com/eclipse/paho.mqtt.testing.git
7+
)
8+
copy "java_client_testing.conf" "paho.mqtt.testing/interoperability/java_client_testing.conf" /y
9+
cd paho.mqtt.testing/interoperability
10+
start python3 startbroker.py -c java_client_testing.conf
11+
cd ../..

0 commit comments

Comments
 (0)