Starting the HTTP Bridge - MrYsLab/xideco GitHub Wiki

The HTTP Bridge is used to connect the Scratch off-line editor to the Xideco network.

There is one HTTP Bridge instance per system.

It must be run on the same computer that is running Scratch.

To start the HTTP Bridge, open a command window and type:

xihb

You should see something like this appear on the console:

~$ xihb

**************************************
Scratch HTTP Bridge - xihb
Using router IP address: 192.168.2.192
**************************************

To specify some other address for the router, use the -r command line option

Scratch Project Files Located at:
/usr/local/lib/python3.5/dist-packages/xideco/data_files/scratch_files/projects

port_map.py is located at:
/usr/local/lib/python3.5/dist-packages/xideco/data_files/port_map

The path to Scratch file projects for all languages is shown on the screen. After starting Scratch, within Scratch click File/Open and select one of the projects in the Scratch projects directory.

There are no command line options for version 0.3.0 xihb, but for version 0.4.0, the options are:

~$ xihb
usage: xihb.py [-h] [-r ROUTER_IP_ADDRESS]

optional arguments:
  -h, --help            show this help message and exit
  -r ROUTER_IP_ADDRESS  Router IP Address