• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..24-Jan-2022-

.gitignoreH A D24-Jan-202246 86

READMEH A D24-Jan-20221,013 2712

clean.shH A D24-Jan-2022297 2012

start.shH A D24-Jan-20224.2 KiB163124

stop.shH A D24-Jan-2022262 159

README

1DO NOT USE THESE DEMO SERVERS IN PRODUCTION
2
3Requires you to have done:
4    python setup.py develop
5
6
7The demo start.sh will start three synapse servers on ports 8080, 8081 and 8082, with host names localhost:$port. This can be easily changed to `hostname`:$port in start.sh if required.
8
9To enable the servers to communicate untrusted ssl certs are used. In order to do this the servers do not check the certs
10and are configured in a highly insecure way. Do not use these configuration files in production.
11
12stop.sh will stop the synapse servers and the webclient.
13
14clean.sh will delete the databases and log files.
15
16To start a completely new set of servers, run:
17
18    ./demo/stop.sh; ./demo/clean.sh && ./demo/start.sh
19
20
21Logs and sqlitedb will be stored in demo/808{0,1,2}.{log,db}
22
23
24
25Also note that when joining a public room on a differnt HS via "#foo:bar.net", then you are (in the current impl) joining a room with room_id "foo". This means that it won't work if your HS already has a room with that name.
26
27