Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Adding Configuring template repos #143

Merged
merged 11 commits into from
Sep 19, 2019
24 changes: 11 additions & 13 deletions docs/_documentations/mdt-eclipse-usingadifferenttemplate.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
---
layout: docs
title: Using a template repository of your own
description: Using a template repository of your own
keywords: getting started, setting up, projects, update, help, Theia, test, edit, Theia editor, using own IDE, empty page, refresh, credentials, default editor, Node.js profiling support, code highlighting, JavaScript file, template repository
title: Configuring template sources
description: Configuring template sources
keywords: getting started, setting up, projects, update, help, Theia, test, edit, Theia editor, using own IDE, empty page, refresh, credentials, default editor, Node.js profiling support, code highlighting, JavaScript file, template source
duration: 1 minute
permalink: mdteclipseusingadifferenttemplate
type: document
order: 8
parent: usingcodewind
---

# Using a template repository of your own
# Configuring template sources

When you create a new project, you can choose from the default set of templates available, or you can choose from a template repository of your own. To add a new repository, edit the `.config/repository_list.json` file within your `codewind-workspace`. The file is a json file that contains an array of objects with two fields, the URL of the repository and a description:
When you create a new project, you can choose from the default set of templates available, or you can choose from a template source of your own. Use Codewind to manage templates. Templates can make application development easier by providing a structure and boilerplate code to help get a new project started.

```
{
"url": "https://raw.githubusercontent.com/kabanero-io/codewind-templates/master/devfiles/index.json",
"description": "Standard Codewind templates."
}
```

After you have edited and saved this file, restart Codewind.
- To open the Template Source Manager, right-click **Projects (Local)**.
sishida marked this conversation as resolved.
Show resolved Hide resolved
- Click **Manage Template Sources** to add a source to the table.
- You can perform the following actions in the dialog window:
- Use the check boxes to enable or disable sources.
- Use **Add** to add a new source.
- Use **Remove** to remove non-default sources.
21 changes: 8 additions & 13 deletions docs/_documentations/mdt-vsc-usingadifferenttemplate.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
---
layout: docs
title: Using a template repository of your own
description: Using a template repository of your own
keywords: getting started, setting up, projects, update, help, Theia, test, edit, Theia editor, using own IDE, empty page, refresh, credentials, default editor, Node.js profiling support, code highlighting, JavaScript file, template repository
title: Configuring template sources
description: Configuring template sources
keywords: getting started, setting up, projects, update, help, Theia, test, edit, Theia editor, using own IDE, empty page, refresh, credentials, default editor, Node.js profiling support, code highlighting, JavaScript file, template source
duration: 1 minute
permalink: mdt-vsc-usingadifferenttemplate
type: document
order: 8
parent: usingcodewind
---

# Using a template repository of your own
# Configuring template sources

When you create a new project, you can choose from the default set of templates available, or you can choose from a template repository of your own. To add a new repository, edit the `.config/repository_list.json` file within your `codewind-workspace`. The file is a json file that contains an array of objects with two fields, the URL of the repository and a description:
When you create a new project, you can choose from the default set of templates available, or you can choose from a template source of your own. Use Codewind to manage templates. Templates can make application development easier by providing a structure and boilerplate code to help get a new project started.

```
{
"url": "https://raw.githubusercontent.com/kabanero-io/codewind-templates/master/devfiles/index.json",
"description": "Standard Codewind templates."
}
```

After you have edited and saved this file, restart Codewind.
- To open the Template Source Manager, right-click **Projects (Local)**.
- Click **Manage Template Sources** to add a source to the table.
sishida marked this conversation as resolved.
Show resolved Hide resolved
- Enable or disable a source type to view the sources of that type in the wizard.
sishida marked this conversation as resolved.
Show resolved Hide resolved