-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: Update the synapse installation section with poetry usage #7521
base: develop
Are you sure you want to change the base?
Conversation
2495484
to
1c7258e
Compare
Kudos, SonarCloud Quality Gate passed! |
I think we should also mention that Otherwise the generate config has baseurl set to |
|
||
```bash | ||
python3 -m pip install virtualenv | ||
pip install --user pipx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip3 install --user pipx
worked here.
pip install -e . | ||
demo/start.sh --no-rate-limit | ||
|
||
poetry install --extras all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- For the error during
Installing psycopg2 (2.9.5)
:Error: pg_config executable not found.
, runbrew install postgresql
. - For the error during
Installing the current project: matrix-synapse (1.73.0)
:ModuleNotFoundError: No module named 'setuptools_rust'
, runpip install setuptools_rust
@@ -113,19 +106,4 @@ Ensure you have the following configuration in `demo/etc/8080.config`. | |||
public_baseurl: http://10.0.2.2:8080/ | |||
``` | |||
|
|||
After changing this you will need to restart synapse using `demo/stop.sh` and `demo/start.sh` to load the new configuration. | |||
|
|||
### virtualenv command fails |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to update the toc by running ./gradlew knit
.
|
||
```bash | ||
python3 -m pip install virtualenv | ||
pip install --user pipx | ||
pipx install poetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personal note, maybe mention it here: poetry 1.2 is required. Check that this is the installed version. When I run it, it installed version 1.1.13, I do not know why...
Type of change
Content
Update the synapse installation doc to set up a local synapse locally for integration tests or dev.