summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorZAID BIN TARIQ <57444558+thezaidbintariq@users.noreply.github.com>2023-02-16 23:20:02 +0500
committerGitHub <noreply@github.com>2023-02-16 18:20:02 +0000
commitad1f3fa8e10d99ca49acd7a351a8e695e1412d64 (patch)
treeeead1d4162c691c3f5c9667d8295b4623a70128d /docs
parentUse mypy 1.0 (#15052) (diff)
downloadsynapse-ad1f3fa8e10d99ca49acd7a351a8e695e1412d64.tar.xz
Document how to start Synapse with Poetry (#14892)
* Add Start Synapse with Poetry

* Create 14892.doc

* Apply suggestions from code review

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Update docs/workers.md

---------

Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/workers.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/workers.md b/docs/workers.md
index bc66f0e1bc..2eb970ffa6 100644
--- a/docs/workers.md
+++ b/docs/workers.md
@@ -160,7 +160,18 @@ recommend the use of `systemd` where available: for information on setting up
 [Systemd with Workers](systemd-with-workers/). To use `synctl`, see
 [Using synctl with Workers](synctl_workers.md).
 
+## Start Synapse with Poetry
 
+The following applies to Synapse installations that have been installed from source using `poetry`.
+
+You can start the main Synapse process with Poetry by running the following command:
+```console
+poetry run synapse_homeserver -c [your homeserver.yaml]
+```
+For worker setups, you can run the following command
+```console
+poetry run synapse_worker -c [your worker.yaml]
+```
 ## Available worker applications
 
 ### `synapse.app.generic_worker`