tests/wamp/README
changeset 2245 fe3394697b02
parent 2194 35d6b9321ffd
child 2288 5f59e898b2e4
equal deleted inserted replaced
2244:42566291b9bc 2245:fe3394697b02
     1 Crossbar test router configuration is available in .crossbar directory.
     1 /* This project contains wamp client config to be loaded at runtime startup. */
     2 
     2 ./project_files/wampconf.json
     3 Starting command:
       
     4 crossbar start
       
     5 
       
     6 This project contains wamp client config to be loaded at runtime startup.
       
     7 
       
     8 project_files/wampconf.json
       
     9 
     3 
    10 wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart.
     4 wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart.
    11 
     5 
    12 Otherwise, wamp config file path can be forced :
     6 Otherwise, wamp config file path can be forced :
    13 ./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir
     7 ./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir
    14 
     8 
    15 Otherwise, path for CRA secret can be forced :
     9 /* Crossbar install */
    16 ./Beremiz_service.py -s /path/to/my/secret /working/dir
    10 #sudo apt-get update
       
    11 #sudo apt-get -y dist-upgrade
       
    12 sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5-dev
       
    13 sudo python -m pip install -U pip
       
    14 sudo pip install crossbar
       
    15 crossbar version
    17 
    16 
       
    17 /* Start Crossbar command: */
       
    18 crossbar start
       
    19 
       
    20 /* Crossbar test router configuration is available in .crossbar directory. */
    18 Tested on version:
    21 Tested on version:
    19  Crossbar.io        : 17.12.1 (Crossbar.io COMMUNITY)
    22  Crossbar.io        : 18.3.1 (Crossbar.io COMMUNITY)
    20    Autobahn         : 17.10.1 (with JSON, MessagePack, CBOR, UBJSON)
    23    Autobahn         : 18.3.1 (with JSON, MessagePack, CBOR, UBJSON)
    21    Twisted          : 17.9.0-EPollReactor
    24    Twisted          : 17.9.0-EPollReactor
    22    LMDB             : 0.93/lmdb-0.9.18
    25    LMDB             : 0.93/lmdb-0.9.18
    23    Python           : 2.7.12/CPython
    26    Python           : 2.7.12/CPython
    24 
       
    25