---
title: "Publish, run, and test the Getting Started template projects"
slug: "publish-run-and-test-the-getting-started-template-projects"
abstract: "How to publish, run, and test the sitecore Getting Started template projects."
---
# Publish, run, and test the Getting Started template projects

> [!important]
> If you integrated your app before , it's using the legacy ASP.NET Core Rendering SDK, version 22 or earlier. This SDK is no longer receiving updates, so we recommend that you [upgrade to the latest version of the new](https://doc.sitecore.com/xmc/en/developers/asp-net/latest/asp-net-core-sdk/upgrade-from-v22.html) .

When you use [the Getting Started template](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-headless-development/walkthrough--using-the-getting-started-template.html "Walkthrough: Using the Getting Started template"), you use Content Editor to modify and publish your content and Visual Studio to modify and publish your code.

To publish the `Platform` project:

1. in Content Editor, on the **Publish** tab, below the **Publish** icon, click **the black arrow** (![Illustration showing the black arrow on the Publish icon.](https://doc.sitecore.com/api/markdown-image/xp/en/developers/hd/21/sitecore-headless-development/images/publish.png)) and click **Publish site**.
2. In the **Publish Site** window, select **Smart publish** and click **Publish**.

The `RenderingHost` project uses [dotnet watch](https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-3.1) , which automatically compiles and deploys all changes to the `myproject_rendering_1` container. You can visit the rendering host page at [`https://www.myproject.localhost/`](https://www.myproject.localhost/), and you can see the rendering host log by clicking the container in Docker Dashboard.

> [!note]
> You can also see the rendering host log by running commands from the `MyProject` folder. Depending on which version of Docker you are using, you can run one of the following commands:
>
> -   `docker-compose logs -f <rendering-app-service-name>`.
>
> -   For Docker Compose V2 or later, `docker compose logs -f <rendering-app-service-name>`.
>
> -   `docker logs -f <container-name>`.
>
>
> For more information about Docker commands, refer to the official [Docker CLI documentation](https://docs.docker.com/engine/reference/commandline/cli/).

To run the `RenderingHost` project as a local debug application:

- In Visual Studio, in Solution Explorer, right-click the `RenderingHost` project and click **Debug**, **Start new instance**.

    Visual Studio opens a browser tab with the rendering host page and a console window with the rendering host log.