@@ -191,13 +191,13 @@ see the
191
191
192
192
### Configuration Steps
193
193
194
- The Coder team built a POC of the JetBrains Gateway Offline Mode solution. Here
195
- are the steps we took (and "gotchas"):
194
+ The Coder team built a POC of the JetBrains Gateway Offline Mode solution. Here are
195
+ the steps we took (and "gotchas"):
196
196
197
197
### 1. Deploy the server and install the Client Downloader
198
198
199
- We deployed a simple Ubuntu VM and installed the JetBrains Client Downloader
200
- binary. Note that the server must be a Linux-based distribution.
199
+ We deployed a simple Ubuntu VM and installed the JetBrains Client Downloader binary. Note
200
+ that the server must be a Linux-based distribution.
201
201
202
202
``` shell
203
203
wget https://download.jetbrains.com/idea/code-with-me/backend/jetbrains-clients-downloader-linux-x86_64-1867.tar.gz && \
@@ -206,12 +206,11 @@ tar -xzvf jetbrains-clients-downloader-linux-x86_64-1867.tar.gz
206
206
207
207
### 2. Install backends and clients
208
208
209
- JetBrains Gateway requires both a backend to be installed on the remote host
210
- (your Coder workspace) and a client to be installed on your local machine. You
211
- can host both on the server in this example.
209
+ JetBrains Gateway requires both a backend to be installed on the remote host (your Coder workspace)
210
+ and a client to be installed on your local machine. You can host both on the server
211
+ in this example.
212
212
213
- See here for the full
214
- [ JetBrains product list and builds] ( https://data.services.jetbrains.com/products ) .
213
+ See here for the full [ JetBrains product list and builds] ( https://data.services.jetbrains.com/products ) .
215
214
Below is the full list of supported ` --platforms-filter ` values:
216
215
217
216
``` console
@@ -234,13 +233,12 @@ This is the same command as above, with the `--download-backends` flag removed.
234
233
./jetbrains-clients-downloader-linux-x86_64-1867/bin4/jetbrains-clients-downloader --products-filter < product-code> --build-filter < build-number> --platforms-filter linux-x64 ~ /clients
235
234
```
236
235
237
- We now have both clients and backends installed.
236
+ We now have both clients and backends installed in
238
237
239
238
### 3. Install a web server
240
239
241
- You will need to run a web server in order to serve requests to the backend and
242
- client files. We installed ` nginx ` and setup an FQDN and routed all requests to
243
- ` / ` . See below:
240
+ You will need to run a web server in order to serve requests to the backend and client
241
+ files. We installed ` nginx ` and setup an FQDN and routed all requests to ` / ` . See below:
244
242
245
243
``` console
246
244
server {
@@ -260,22 +258,19 @@ server {
260
258
```
261
259
262
260
Then, configure your DNS entry to point to the IP address of the server. For the
263
- purposes of the POC, we did not configure TLS, although that is a supported
264
- option.
261
+ purposes of the POC, we did not configure TLS, although that is a supported option.
265
262
266
263
### 4. Setup SSH connection with JetBrains Gateway
267
264
268
265
With the server now configured, you can now configure your local machine to use
269
- Gateway. Here is the documentation to
270
- [ setup SSH config via the Coder CLI] ( ../ides.md#ssh-configuration ) . On the
271
- Gateway side, follow our guide here until step 16.
266
+ Gateway. Here is the documentation to [ setup SSH config via the Coder CLI] ( ../ides.md#ssh-configuration ) .
267
+ On the Gateway side, follow our guide here until step 16.
272
268
273
- Instead of downloading from jetbrains.com, we will point Gateway to our server
274
- endpoint. Select ` Installation options... ` and select ` Use download link ` . Note
275
- that the URL must explicitly reference the archive file:
269
+ Instead of downloading from jetbrains.com, we will point Gateway to our server endpoint.
270
+ Select ` Installation options... ` and select ` Use download link ` . Note that the URL
271
+ must explicitly reference the archive file:
276
272
277
273
![ Offline Gateway] ( ../images/gateway/offline-gateway.png )
278
274
279
- Click ` Download IDE and Connect ` . Gateway should now download the backend and
280
- clients from the server into your remote workspace and local machine,
281
- respectively.
275
+ Click ` Download IDE and Connect ` . Gateway should now download the backend and clients
276
+ from the server into your remote workspace and local machine, respectively.
0 commit comments