From 48db13c6fd806f3f68f121d270e0182e1106e73d Mon Sep 17 00:00:00 2001 From: clokep Date: Tue, 8 Mar 2022 20:03:34 +0000 Subject: deploy: 9a0172d49f3da46c615304c7df3353494500fd49 --- develop/development/cas.html | 2 +- develop/development/contributing_guide.html | 2 +- develop/development/database_schema.html | 2 +- develop/development/demo.html | 289 +++++++++++++++++++++ develop/development/experimental_features.html | 2 +- develop/development/git.html | 6 +- .../development/internal_documentation/index.html | 2 +- develop/development/releases.html | 2 +- develop/development/room-dag-concepts.html | 2 +- develop/development/saml.html | 2 +- develop/development/url_previews.html | 2 +- 11 files changed, 301 insertions(+), 12 deletions(-) create mode 100644 develop/development/demo.html (limited to 'develop/development') diff --git a/develop/development/cas.html b/develop/development/cas.html index c5a0d9973a..b7c71304a3 100644 --- a/develop/development/cas.html +++ b/develop/development/cas.html @@ -99,7 +99,7 @@ diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html index f7420d9bd4..2a34b44485 100644 --- a/develop/development/contributing_guide.html +++ b/develop/development/contributing_guide.html @@ -99,7 +99,7 @@ diff --git a/develop/development/database_schema.html b/develop/development/database_schema.html index 7e2cecc9d6..01e6dbe529 100644 --- a/develop/development/database_schema.html +++ b/develop/development/database_schema.html @@ -99,7 +99,7 @@ diff --git a/develop/development/demo.html b/develop/development/demo.html new file mode 100644 index 0000000000..7345070101 --- /dev/null +++ b/develop/development/demo.html @@ -0,0 +1,289 @@ + + + + + + Demo scripts - Synapse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + +
+
+ +
+ +
+ +

Synapse demo setup

+

DO NOT USE THESE DEMO SERVERS IN PRODUCTION

+

Requires you to have a Synapse development environment setup.

+

The demo setup allows running three federation Synapse servers, with server +names localhost:8080, localhost:8081, and localhost:8082.

+

You can access them via any Matrix client over HTTP at localhost:8080, +localhost:8081, and localhost:8082 or over HTTPS at localhost:8480, +localhost:8481, and localhost:8482.

+

To enable the servers to communicate, self-signed SSL certificates are generated +and the servers are configured in a highly insecure way, including:

+
    +
  • Not checking certificates over federation.
  • +
  • Not verifying keys.
  • +
+

The servers are configured to store their data under demo/8080, demo/8081, and +demo/8082. This includes configuration, logs, SQLite databases, and media.

+

Note that when joining a public room on a different 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.

+

Using the demo scripts

+

There's three main scripts with straightforward purposes:

+
    +
  • start.sh will start the Synapse servers, generating any missing configuration. +
      +
    • This accepts a single parameter --no-rate-limit to "disable" rate limits +(they actually still exist, but are very high).
    • +
    +
  • +
  • stop.sh will stop the Synapse servers.
  • +
  • clean.sh will delete the configuration, databases, log files, etc.
  • +
+

To start a completely new set of servers, run:

+
./demo/stop.sh; ./demo/clean.sh && ./demo/start.sh
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/develop/development/experimental_features.html b/develop/development/experimental_features.html index 87e15ceb73..402e552d32 100644 --- a/develop/development/experimental_features.html +++ b/develop/development/experimental_features.html @@ -99,7 +99,7 @@ diff --git a/develop/development/git.html b/develop/development/git.html index 2960ab267a..e31c03e678 100644 --- a/develop/development/git.html +++ b/develop/development/git.html @@ -99,7 +99,7 @@ @@ -315,7 +315,7 @@ the history of Synapse), we've had two releases in flight at once. Obviously, - @@ -333,7 +333,7 @@ the history of Synapse), we've had two releases in flight at once. Obviously, - diff --git a/develop/development/internal_documentation/index.html b/develop/development/internal_documentation/index.html index d869fd373a..996acd6d62 100644 --- a/develop/development/internal_documentation/index.html +++ b/develop/development/internal_documentation/index.html @@ -99,7 +99,7 @@ diff --git a/develop/development/releases.html b/develop/development/releases.html index e73e6ba9a2..86041a1005 100644 --- a/develop/development/releases.html +++ b/develop/development/releases.html @@ -99,7 +99,7 @@ diff --git a/develop/development/room-dag-concepts.html b/develop/development/room-dag-concepts.html index 59cead08ab..ca29e721c8 100644 --- a/develop/development/room-dag-concepts.html +++ b/develop/development/room-dag-concepts.html @@ -99,7 +99,7 @@ diff --git a/develop/development/saml.html b/develop/development/saml.html index 49d9b4227b..218c3b550a 100644 --- a/develop/development/saml.html +++ b/develop/development/saml.html @@ -99,7 +99,7 @@ diff --git a/develop/development/url_previews.html b/develop/development/url_previews.html index e225fca096..85a72ebc72 100644 --- a/develop/development/url_previews.html +++ b/develop/development/url_previews.html @@ -99,7 +99,7 @@ -- cgit 1.5.1