@@ -361,7 +361,8 @@ use the Coder CLI.
361
361
362
362
###Add the template files to Coder
363
363
364
- Add your template files to your Coder deployment. You can upload the template through the CLI, or through the Coder dashboard:
364
+ Add your template files to your Coder deployment. You can upload the template
365
+ through the CLI, or through the Coder dashboard:
365
366
366
367
####Upload template from the Coder CLI
367
368
@@ -378,41 +379,45 @@ Add your template files to your Coder deployment. You can upload the template th
378
379
379
380
``` console
380
381
> Confirm create? (yes/no) yes
381
-
382
+
382
383
The template-tour template has been created! Developers can provision a workspace with this template using:
383
-
384
+
384
385
coder create --template="template-tour" [workspace name]
385
386
```
386
387
387
388
1 . In your web browser, log in to your Coder dashboard, select** Templates** .
388
389
389
- 1 . Once the upload completes, select** Templates** from the top to deploy it to a new workspace.
390
+ 1 . Once the upload completes, select** Templates** from the top to deploy it to
391
+ a new workspace.
390
392
391
393
![ Your new template, ready to use] ( ../images/templates/template-tour.png )
392
394
393
395
####Upload template from the Coder dashboard
394
396
395
397
1 . Create a` .zip ` of the template files.
396
398
397
- On Mac or Windows, highlight the files and then right click. A "compress" option is available through the right-click context menu.
399
+ On Mac or Windows, highlight the files and then right click. A "compress"
400
+ option is available through the right-click context menu.
398
401
399
402
Through the Linux command line, use` zip ` :
400
403
401
404
``` shell
402
405
zip templates.zip Dockerfile main.tf
403
406
```
404
-
405
- 1 . Select** Templates** from the top of the Coder dashboard, then** Create Template ** .
406
-
407
+
408
+ 1 . Select** Templates** from the top of the Coder dashboard, then** Create
409
+ Template ** .
407
410
1 . Select** Upload template** :
408
411
409
412
![ Upload your first template] ( ../images/templates/upload-create-your-first-template.png )
410
413
411
- 1 . Drag the` .zip ` file into the** Upload template** section and fill out the details, then select** Create template** .
414
+ 1 . Drag the` .zip ` file into the** Upload template** section and fill out the
415
+ details, then select** Create template** .
412
416
413
417
![ Upload the template files] ( ../images/templates/upload-create-template-form.png )
414
418
415
- 1 . Once the upload completes, select** Templates** from the top to deploy it to a new workspace.
419
+ 1 . Once the upload completes, select** Templates** from the top to deploy it to
420
+ a new workspace.
416
421
417
422
![ Your new template, ready to use] ( ../images/templates/template-tour.png )
418
423