@@ -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 are
195
- the steps we took (and "gotchas"):
194
+ The Coder team built a POC of the JetBrains Gateway Offline Mode solution. Here
195
+ are 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 binary. Note
200
- that the server must be a Linux-based distribution.
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.
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,11 +206,12 @@ 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 (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.
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.
212
212
213
- See here for the full [ JetBrains product list and builds] ( https://data.services.jetbrains.com/products ) .
213
+ See here for the full
214
+ [ JetBrains product list and builds] ( https://data.services.jetbrains.com/products ) .
214
215
Below is the full list of supported ` --platforms-filter ` values:
215
216
216
217
``` console
@@ -233,12 +234,13 @@ This is the same command as above, with the `--download-backends` flag removed.
233
234
./jetbrains-clients-downloader-linux-x86_64-1867/bin4/jetbrains-clients-downloader --products-filter < product-code> --build-filter < build-number> --platforms-filter linux-x64 ~ /clients
234
235
```
235
236
236
- We now have both clients and backends installed in
237
+ We now have both clients and backends installed.
237
238
238
239
### 3. Install a web server
239
240
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:
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:
242
244
243
245
``` console
244
246
server {
@@ -258,19 +260,22 @@ server {
258
260
```
259
261
260
262
Then, configure your DNS entry to point to the IP address of the server. For the
261
- purposes of the POC, we did not configure TLS, although that is a supported option.
263
+ purposes of the POC, we did not configure TLS, although that is a supported
264
+ option.
262
265
263
266
### 4. Setup SSH connection with JetBrains Gateway
264
267
265
268
With the server now configured, you can now configure your local machine to use
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.
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.
268
272
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:
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:
272
276
273
277
![ Offline Gateway] ( ../images/gateway/offline-gateway.png )
274
278
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.
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.
0 commit comments