Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

CmsEngine

Build status

Build status

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 library folder (CmsEngine\CmsEngine.Data)
    • dotnet ef migrations add MIGRATION_NAME --startup-project ..\CmsEngine.Ui\
    • Go back to the web project folder (CmsEngine\CmsEngine.Ui)
    • 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
You can’t perform that action at this time.