author | Andrey Skvortsov <andrej.skvortzov@gmail.com> |
Thu, 16 Aug 2018 11:01:54 +0300 | |
changeset 2288 | 5f59e898b2e4 |
parent 2194 | 35d6b9321ffd |
child 2289 | cf0934b42d66 |
permissions | -rw-r--r-- |
2194
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
1 |
/* This project contains wamp client config to be loaded at runtime startup. */ |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
2 |
./project_files/wampconf.json |
1439
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
3 |
|
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
4 |
wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart. |
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
5 |
|
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
6 |
Otherwise, wamp config file path can be forced : |
1896
2081de16e726
update tests/wamp README file, based on changes from dporopat.
Edouard Tisserant
parents:
1439
diff
changeset
|
7 |
./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir |
1439
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
8 |
|
2194
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
9 |
/* Crossbar install */ |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
10 |
#sudo apt-get update |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
11 |
#sudo apt-get -y dist-upgrade |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
12 |
sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5-dev |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
13 |
sudo python -m pip install -U pip |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
14 |
sudo pip install crossbar |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
15 |
crossbar version |
1439
a68cd4253259
Added stub code for runtime WAMP client. Added runtime command line switch to select WAMP url and Nevow web site port. Web port is now fixed, next port number is not tested if bind fails.
Edouard Tisserant
parents:
diff
changeset
|
16 |
|
2194
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
17 |
/* Start Crossbar command: */ |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
18 |
crossbar start |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
19 |
|
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
20 |
/* Crossbar test router configuration is available in .crossbar directory. */ |
1896
2081de16e726
update tests/wamp README file, based on changes from dporopat.
Edouard Tisserant
parents:
1439
diff
changeset
|
21 |
Tested on version: |
2194
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
22 |
Crossbar.io : 18.3.1 (Crossbar.io COMMUNITY) |
35d6b9321ffd
#2486 Updated wamp test project to work with the latest Crossbar version.
dporopat <denis.poropat@smarteh.si>
parents:
1896
diff
changeset
|
23 |
Autobahn : 18.3.1 (with JSON, MessagePack, CBOR, UBJSON) |
1896
2081de16e726
update tests/wamp README file, based on changes from dporopat.
Edouard Tisserant
parents:
1439
diff
changeset
|
24 |
Twisted : 17.9.0-EPollReactor |
2081de16e726
update tests/wamp README file, based on changes from dporopat.
Edouard Tisserant
parents:
1439
diff
changeset
|
25 |
LMDB : 0.93/lmdb-0.9.18 |
2288
5f59e898b2e4
Make ID in WAMP project match with ID PLC runtime.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2194
diff
changeset
|
26 |
Python : 2.7.12/CPython |