tests/wamp/README
author Edouard Tisserant
Thu, 05 Jul 2018 13:44:54 +0200
branchnevow_service_rework
changeset 2213 73b7034693b9
parent 2194 35d6b9321ffd
child 2288 5f59e898b2e4
permissions -rwxr-xr-x
Better logging of Nevow Server import in case of exception.
/* This project contains wamp client config to be loaded at runtime startup. */
./project_files/wampconf.json

wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart.

Otherwise, wamp config file path can be forced :
./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir

/* Crossbar install */
#sudo apt-get update
#sudo apt-get -y dist-upgrade
sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5-dev
sudo python -m pip install -U pip
sudo pip install crossbar
crossbar version

/* Start Crossbar command: */
crossbar start

/* Crossbar test router configuration is available in .crossbar directory. */
Tested on version:
 Crossbar.io        : 18.3.1 (Crossbar.io COMMUNITY)
   Autobahn         : 18.3.1 (with JSON, MessagePack, CBOR, UBJSON)
   Twisted          : 17.9.0-EPollReactor
   LMDB             : 0.93/lmdb-0.9.18
   Python           : 2.7.12/CPython