Difficulty: beginner
Estimated Time: 10 minutes

In this Lab we will get introduced to Crossbar.io and Autobahn and its usage

Hurray, You have successfully run the bouncing ball demo using Crossbar.io and Autobahn Pyhton.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Bouncing ball demo using Crossbar.io

Step 1 of 4

Step 1 Getting sources from git

You will see the commands execute within the terminal for you, wait till they are complete and the screen is cleared

Fetch Source

Execute git clone https://github.com/codelectron/crossbar-examples to fetch the example source code.

Fetch Bouncing ball source

Execute git clone https://github.com/oddjobz/crossbar_ball_demo to fetch the example source code.

Start Crossbar.io in Dockers

Execute docker run -d -v $PWD/crossbar-examples/getting-started:/node -u 0 --rm --name=crossbar -it -p 8080:8080 crossbario/crossbar to run Crossbar.io in dockers with configuration mounted from getting-started folder.