Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
8e780b11
Unverified
Commit
8e780b11
authored
7 years ago
by
Matthew Wolff
Browse files
Options
Downloads
Patches
Plain Diff
web_server_root documentation fix
Signed-off-by:
Matthew Wolff
<
matthewjwolff@gmail.com
>
parent
78f0ddbf
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+5
-2
5 additions, 2 deletions
README.rst
synapse/app/homeserver.py
+1
-2
1 addition, 2 deletions
synapse/app/homeserver.py
synapse/config/server.py
+6
-0
6 additions, 0 deletions
synapse/config/server.py
with
12 additions
and
4 deletions
README.rst
+
5
−
2
View file @
8e780b11
...
...
@@ -335,8 +335,11 @@ ArchLinux
---------
The quickest way to get up and running with ArchLinux is probably with the community package
https://www.archlinux.org/packages/community/any/matrix-synapse/, which should pull in all
the necessary dependencies.
https://www.archlinux.org/packages/community/any/matrix-synapse/, which should pull in most of
the necessary dependencies. If the default web client is to be served (enabled by default in
the generated config),
https://www.archlinux.org/packages/community/any/python2-matrix-angular-sdk/ will also need to
be installed.
Alternatively, to install using pip a few changes may be needed as ArchLinux
defaults to python 3, but synapse currently assumes python 2.7 by default:
...
...
This diff is collapsed.
Click to expand it.
synapse/app/homeserver.py
+
1
−
2
View file @
8e780b11
...
...
@@ -88,11 +88,10 @@ def build_resource_for_web_client(hs):
"
the location of the source to serve via the configuration
\n
"
"
option `web_client_location`
\n\n
"
"
To install the `matrix-angular-sdk` via pip, run:
\n\n
"
"
pip install
'
%(dep)s
'
\n
"
"
pip install
matrix-angular-sdk
\n
"
"
\n
"
"
You can also disable hosting of the webclient via the
\n
"
"
configuration option `web_client`
\n
"
%
{
"
dep
"
:
DEPENDENCY_LINKS
[
"
matrix-angular-sdk
"
]}
)
syweb_path
=
os
.
path
.
dirname
(
syweb
.
__file__
)
webclient_path
=
os
.
path
.
join
(
syweb_path
,
"
webclient
"
)
...
...
This diff is collapsed.
Click to expand it.
synapse/config/server.py
+
6
−
0
View file @
8e780b11
...
...
@@ -144,6 +144,12 @@ class ServerConfig(Config):
# Whether to serve a web client from the HTTP/HTTPS root resource.
web_client: True
# The root directory to server for the above web client.
# If left undefined, synapse will serve the matrix-angular-sdk web client.
# Make sure matrix-angular-sdk is installed with pip if web_client is True
# and web_client_location is undefined
# web_client_location:
"
/path/to/web/root
"
# The public-facing base URL for the client API (not including _matrix/...)
# public_baseurl: https://example.com:8448/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment