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.
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.
Since this is a .NET Core project you can run in 2 ways:
- 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
- Just run with Ctrl + F5 (or F5 for debugging) and let everything happens
- You will need to setup your own IIS instance
- Ctrl + Shift + P to attach the process and debug