CMS-Piranha CMS
[删除(380066935@qq.com或微信通知)]
https://github.com/PiranhaCMS/piranha.core
About
This is a complete rewrite of Piranha CMS. The goal of this rewrite is to create a version capable of targeting multiple platforms & frameworks with minimal dependencies, but still provide a flexible & high performance CMS library.
Piranha is currently built for .NET 6 and uses in its simplest form the following awesome packages:
AutoMapper
Markdig
Microsoft.EntityFrameworkCore
Newtonsoft.Json
Getting started
Prerequisites
.NET 6.0 SDK
An IDE or Editor of your choice
Create a new project from our templates
To use our project templates you first need to download and install them from NuGet. This can be done with:
dotnet new -i Piranha.Templates
When creating a new project with dotnet new you should first create a new empty folder. The default behaviour is that the new project is named after its containing folder.
Please note that naming your project Piranha (even if it is a test project) will result in a circular reference error when you try to restore the packages. This is due to a limitation in dotnet restore.
After this is done you can create a new web project for razor pages with:
dotnet new piranha.razor
To read more about of our available project templates, please read more on https://piranhacms.org/docs/basics/project-templates
Get the latest source code and get going
> git clone https://github.com/PiranhaCMS/piranha.core.git
> cd piranha.core
> dotnet restore
> dotnet build
> cd examples/MvcWeb
> dotnet run