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.
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
dotnet -d watch run(
-druns 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
- 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