-
Notifications
You must be signed in to change notification settings - Fork 333
SQSERVICES-1504-doc-1-3 #2340
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
Merged
Merged
SQSERVICES-1504-doc-1-3 #2340
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ How to connect the desktop application to a custom backend | |
Introduction | ||
------------ | ||
|
||
This page explains how to connect the Wire desktop client to a custom Backend. | ||
This page explains how to connect the Wire desktop client to a custom Backend, which can be done either via a start-up parameter or via an initialization file. | ||
|
||
Prerequisites | ||
-------------- | ||
|
@@ -15,15 +15,18 @@ Have a running Wire backend in your infrastructure/cloud. | |
|
||
Note down the full URL of the webapp served by that backend (e.g. https://app.custom-wire.com ) | ||
|
||
Using start-up parameters | ||
------------------------- | ||
|
||
Windows | ||
------- | ||
~~~~~~~ | ||
|
||
- Create a shortcut to the Wire application | ||
- Edit the shortcut ( Right click > Properties ) | ||
- Add the following command line parameters to the shortcut: `--env {URL}`, where `{URL}` is the URL of your webapp as noted down above | ||
|
||
MacOS | ||
----- | ||
~~~~~ | ||
|
||
To create the application | ||
|
||
|
@@ -35,8 +38,45 @@ To create the application | |
- To run the application: Just open the application you created in the first step | ||
|
||
Linux | ||
----- | ||
~~~~~ | ||
|
||
- Open a Terminal | ||
- Start the application with the command line arguments: `--env {URL}`, where `{URL}` is the URL of your webapp as noted down above | ||
|
||
Using an initialization file | ||
---------------------------- | ||
|
||
By providing an initialization file the instance connection parameters plus proxy settings for the Wire desktop application can be pre-configured. This requires Wire version >= 3.27. | ||
|
||
Create a file named ``init.json`` and set ``customWebAppURL`` and ``proxyServerURL`` e.g. as follows: | ||
|
||
.. code-block:: json | ||
|
||
{ | ||
"customWebAppURL": "https://app.custom-wire.com", | ||
"env": "CUSTOM", | ||
"proxyServerURL": "http://127.0.0.1:3128", | ||
} | ||
|
||
The ``env`` setting must be set to ``CUSTOM`` for this to work. | ||
|
||
Windows | ||
~~~~~~~ | ||
|
||
Move the ``init.json`` file to ``%APPDATA%\Wire\config\init.json`` if it does not already exist. If it exists update it accordingly. | ||
|
||
MacOS | ||
~~~~~ | ||
|
||
Move the ``init.json`` file to | ||
|
||
:: | ||
|
||
~/Library/Containers/com.wearezeta.zclient.mac/Data/Library/Application\ Support/Wire/config/init.json | ||
|
||
if it does not already exist. If it exists update it accordingly. | ||
battermann marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Linux | ||
~~~~~ | ||
|
||
TBD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this resides at |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
I think it would be good to exactly describe what
customWebAppURL
andproxyServerURL
are. How would I get them as a user or administrator?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.
| Consult your site admin to learn what goes into these settings. The value of
customWebAppURL
can be found here resp. here. The value ofproxyServerURL
is your browser proxy. It depends on the configuration of the network your client is running in.