Skip to content

davidsonsousa/CmsEngine

Repository files navigation

CmsEngine

Build status

CmsEngine

What is it?

This the code-base of the CMS I am using in my website https://davidsonsousa.net.

I am making it available for anyone who would like to use a .NET Core engine to create their own website.

Why?

Because I need a pet project to practice a couple of things. And do it with my own website seems to be the right choice.

What is this project using?

(or: What I intend to practice with this project?)

Running the project

Since this is a .NET Core project you can run in 2 ways:

.NET Core CLI (using PowerShell)

  • Run the project
    • cd ..\CmsEngine.Ui
    • dotnet -d watch run (-d runs the project in diagnostic mode)
    • Open your favorite browser and load https://cmsengine.test:5001 (make sure this url is mapped to localhost in your hosts file)
  • Database migrations
    • Make that sure you are in the ASP.NET Core project folder (CmsEngine\CmsEngine.Ui)
    • dotnet ef migrations add MigrationName --project ..\CmsEngine.Data\
    • dotnet ef database update

IIS Express

  • Just run with Ctrl + F5 (or F5 for debugging) and let everything happens

IIS

  • You will need to setup your own IIS instance
  • Ctrl + Shift + P to attach the process and debug