Skip to content

Commit 528954a

Browse files
author
Ayres, Andrew
committed
Update template url and patterns
1 parent 7fe8754 commit 528954a

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

episodes/02-Copy-Template.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@ The setup section detailed the prerequisites required for the tutorial. One of t
3737
To clone the template application, run the following command:
3838

3939
```bash
40-
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template-tutorial.git nova_tutorial
40+
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template.git nova_tutorial
4141
```
4242

4343
This command will download the template to a directory called `nova_tutorial`. Copier will prompt you with a series of questions. Please answer the questions as follows:
4444

45+
* **What kind of application are you creating?**
46+
> Enter `Tutorial`
47+
4548
* **What is your project name?**
4649

4750
> Enter `Nova Tutorial`
@@ -66,14 +69,6 @@ This command will download the template to a directory called `nova_tutorial`. C
6669

6770
> Enter `yes`
6871
69-
* **Publish to PyPI?**
70-
71-
> Enter `no`
72-
73-
* **Publish documentation to readthedocs.io?**
74-
75-
> Enter `no`
76-
7772
After answering these questions, `copier` will clone the template repository and create your project within the `nova_tutorial` directory.
7873

7974
::::::::::::::::::::::::::::::::::::::::: callout

episodes/06-Advanced-Data-Modeling.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,14 @@ Let\'s start by setting up a new application from the template.
6565
To clone the template application, run the following command:
6666

6767
```bash
68-
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template-tutorial.git advanced_pydantic
68+
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template.git advanced_pydantic
6969
```
7070

7171
This command will download the template to a directory called `advanced_pydantic`. Copier will prompt you with a series of questions. Please answer the questions as follows:
7272

73+
* **What kind of application are you creating?**
74+
> Enter `Command-Line Tool`
75+
7376
* **What is your project name?**
7477

7578
> Enter `Advanced Pydantic`
@@ -282,11 +285,15 @@ Now, let\'s create a simple Trame-based GUI application.
282285
To clone the template application, run the following command:
283286

284287
```bash
285-
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template-tutorial.git pydantic_mvvm
288+
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template.git pydantic_mvvm
286289
```
287290

288291
This command will download the template to a directory called `pydantic_mvvm`. Copier will prompt you with a series of questions. Please answer the questions as follows:
289292

293+
294+
* **What kind of application are you creating?**
295+
> Enter `Nova Application`
296+
290297
* **What is your project name?**
291298

292299
> Enter `Trame with Pydantic`
@@ -311,14 +318,6 @@ This command will download the template to a directory called `pydantic_mvvm`. C
311318

312319
> Enter `n`
313320
314-
* **Publish to PyPI?**
315-
316-
> Enter `n`
317-
318-
* **Publish documentation to readthedocs.io?**
319-
320-
> Enter `n`
321-
322321
After that, go into the created folder and install project dependencies:
323322

324323
```bash

episodes/07-Advanced-Visualizations.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,19 @@ The complete code for this episode is available in the `code/episode_7` director
3838
Let\'s start by setting up a new application from the template. When answering the `copier` questions, make sure you select "no" for installing Mantid and set up a Trame-based, multi-tab view based on MVVM.
3939

4040
```bash
41-
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template-tutorial.git viz_tutorial
41+
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template.git viz_tutorial
4242
```
4343

44+
* **What kind of application are you creating?**
45+
> Enter `Nova Application`
46+
4447
* **What is your project name?**
4548

4649
> Enter `Viz Examples`
4750
51+
* **Which category will your tool belong to?**
52+
> Enter `Generic`
53+
4854
* **What is your Python package name (use Python naming conventions)?**
4955

5056
> Press enter to accept the default.
@@ -65,14 +71,6 @@ copier copy https://code.ornl.gov/ndip/project-templates/nova-application-templa
6571

6672
> Enter `yes`
6773
68-
* **Publish to PyPI?**
69-
70-
> Enter `no`
71-
72-
* **Publish documentation to readthedocs.io?**
73-
74-
> Enter `no`
75-
7674
```bash
7775
cd viz_tutorial
7876
poetry install

0 commit comments

Comments
 (0)