Publish, run, and test the Getting Started template projects

Abstract

How to publish, run, and test the sitecore Getting Started template projects.

When you use 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.) and click Publish site.

  2. In the Publish Site window, select Smart publish and click Publish.

The RenderingHost project uses dotnet watch 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/, and you can see the rendering host log by clicking the container in Docker Dashboard or by running this PowerShell command from the MyProject folder: docker-compose logs -f rendering

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.