GoranHalvarsson / MVP-Site

Source code for a new Sitecore MVP site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ₯‡ MVP Site 2020

This is the new Sitecore MVP site - build against Sitecore 10 utillising the new .NET Core development experience.

🚧🚧🚧 This is a work in progress and as such will probably contain some errors, bugs etc that will hopefully be fixed before go live 🚧🚧🚧

πŸ’— Contributions

The Sitecore MVP site is an Open Source project and as such we welcome community contributions, though Sitecore has a "No commitment" approach to this repository. Please read the Code of Conduct and Contribution Guide before participating

βœ‹ PreRequisites

πŸ’» Initial Setup

  1. If your local IIS is listening on port 443, you'll need to stop it for now.

    iisreset /stop
    
  2. Before you can run the solution, you will need to prepare the following for the Sitecore container environment:

    • A valid/trusted wildcard certificate for *.sc.localhost

    • Hosts file entries for

      • mvp-cd.sc.localhost
      • mvp-cm.sc.localhost
      • mvp-id.sc.localhost
      • mvp.sc.localhost
    • Required environment variable values in .env for the Sitecore instance

      • (Can be done once, then checked into source control.)

    See Sitecore Containers documentation for more information on these preparation steps. The provided init.ps1 will take care of them, but you should review its contents before running.

    You must use an elevated/Administrator Windows PowerShell 5.1 prompt for this command, PowerShell 7 is not supported at this time.

    .\init.ps1 -InitEnv -LicenseXmlPath "C:\path\to\license.xml" -AdminPassword "DesiredAdminPassword"
  3. After completing this environment preparation, run the startup script from the solution root:

    .\up.ps1
  4. When prompted, log into Sitecore via your browser, and accept the device authorization.

  5. Wait for the startup script to open browser tabs for the rendered site and Sitecore Launchpad.

⚠️ Troubleshooting

If have issues running the site locally, please refer to the Troubleshooting page on the wiki before opening an issue.

About

Source code for a new Sitecore MVP site

License:Apache License 2.0


Languages

Language:CSS 81.6%Language:HTML 11.5%Language:C# 5.0%Language:PowerShell 1.1%Language:Dockerfile 0.7%Language:JavaScript 0.2%