Commit 528954ae authored by Ayres, Andrew's avatar Ayres, Andrew
Browse files

Update template url and patterns

parent 7fe87547
Loading
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -37,11 +37,14 @@ The setup section detailed the prerequisites required for the tutorial. One of t
To clone the template application, run the following command:

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

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:

*  **What kind of application are you creating?**
    > Enter `Tutorial`
  
*   **What is your project name?**

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

    > Enter `yes`

*   **Publish to PyPI?**

    > Enter `no`

*   **Publish documentation to readthedocs.io?**

    > Enter `no`

After answering these questions, `copier` will clone the template repository and create your project within the `nova_tutorial` directory.

::::::::::::::::::::::::::::::::::::::::: callout
+9 −10
Original line number Diff line number Diff line
@@ -65,11 +65,14 @@ Let\'s start by setting up a new application from the template.
To clone the template application, run the following command:

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

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:

*  **What kind of application are you creating?**
    > Enter `Command-Line Tool`

*   **What is your project name?**

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

```bash
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template-tutorial.git pydantic_mvvm
copier copy https://code.ornl.gov/ndip/project-templates/nova-application-template.git pydantic_mvvm
```

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:


*  **What kind of application are you creating?**
    > Enter `Nova Application`

*   **What is your project name?**

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

    > Enter `n`

*   **Publish to PyPI?**

    > Enter `n`

*   **Publish documentation to readthedocs.io?**

    > Enter `n`

After that, go into the created folder and install project dependencies:

```bash
+7 −9
Original line number Diff line number Diff line
@@ -38,13 +38,19 @@ The complete code for this episode is available in the `code/episode_7` director
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.

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

*  **What kind of application are you creating?**
    > Enter `Nova Application`

*   **What is your project name?**

    > Enter `Viz Examples`

*   **Which category will your tool belong to?**
    > Enter `Generic`

*   **What is your Python package name (use Python naming conventions)?**

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

    > Enter `yes`

*   **Publish to PyPI?**

    > Enter `no`

*   **Publish documentation to readthedocs.io?**

    > Enter `no`

```bash
cd viz_tutorial
poetry install