Get and Run Orchard Core on a Local Machine

Posted by Larrem on January 11, 2024

Objectives

  1. Create a file structure similar to Orchard Core's at https://github.com/OrchardCMS/OrchardCore
  2. Build, run, and add some data for testing using TheBlogTheme.

Step 1: Create a parent folder

Step 2: Open Power Shell for the parent folder

Step 3: Install templates and create the solution

Using Orchard Core docs at https://docs.orchardcore.net/en/latest/docs/getting-started/templates/

Use the Power Shell and type the commands below

  1. Install the templates

dotnet new install OrchardCore.ProjectTemplates::1.8.1

  1. Create the Orchard Core CMS project

dotnet new occms -o "./src/BasicsOrchardCore.Web"

  1. Create the solutoin file

dotnet new sln -o "./" -n "BasicsOrchardCore"

  1. Add the project to the solution file

dotnet sln add "./src/BasicsOrchardCore.Web/BasicsOrchardCore.Web.csproj"

Step 4: Launch Visual Studio, build, and run

Step 5: Create a website using TheBlogTheme

Step 6: Go to /admin and add some data


References:

https://docs.orchardcore.net/en/latest/docs/getting-started/templates/