💡Quick Start
This page will run you through getting ZauberCMS up and running (Using either the .Net template or Nuget) and then creating your first page and getting data out the CMS.
Using .Net Template
Fastest way to get started is using the .Net Template, firstly install the ZauberCMS template (--force just makes sure you install the latest one)
This is v4 RC and still in .NET 9 for you to test, when released this will be updated to .NET 10.
dotnet new install ZauberCMS.Template::4.0.0-rc.5.6 --force
Then simple create your solution using the below:
dotnet new zaubercms -n "YourSiteName"
Watch this website build tutorial for more information
📹Website Build Video TutorialUsing Nuget
If you want to use the Nuget package manually you can follow this video.
Create a new Blazor project
Clear out everything, so you are left with just the
wwwroot
and an emptyprogram.cs
like belowBlank Blazor App Now install the ZauberCMS nuget package
dotnet add package ZauberCMS
In your Program.cs, update it to add the AddZauberCMS methods to the builder and the app and the correct namespaces
using ZauberCMS.Components; using ZauberCMS.Core.Plugins; var builder = WebApplication.CreateBuilder(args); builder.AddZauberCms(); var app = builder.Build(); app.AddZauberCms<App>(); app.Run();
Now build your solution, and the ZauberCMS
appSettings.json
default will be added to the solution,Now just build and run the app and you'll see the install page with instructions to browse to /admin and create an account. The first account created will be made and admin, and it will redirect you to the admin.
Starter Site
Currently the repo for ZauberCMS on Github comes with the starter site out of the box and uses SQLite.
Get Up & Running
Clone the repo
Build and run the app
When the starter site loads
Go to /admin
Register as a new user and you will be redirected to the admin
Last updated