Welcome to the FluentCMS Base Template Repository! This repository serves as the foundational template for building projects with FluentCMS, providing essential configurations, best practices, and fully customizable templates to kickstart your project and get you up and running quickly.
- .NET SDK 9.0 or later
-
Clone the repository:
git clone https://github.com/fluentcms/Template.git
-
Navigate to the project directory:
cd Template
-
Configure the Database:
FluentCMS supports multiple databases. Configure the desired database by following these steps:
-
Set the Database in
appsettings.json
: Define your database type underDatabase
section. For example, to use LiteDB:"Database": "LiteDB"
Available options are:
LiteDb
,MongoDB
,SQLite
,SQLServer
,MySQL
,PostgreSQL
-
Provide Connection Strings in
appsettings.json
: Set your connection string under "ConnectionStrings" in appsettings.json for the desired database:"ConnectionStrings": { "DefaultConnection": "Filename=./fluentcms.db" }
-
-
Run the application:
dotnet run
-
Visit
http://localhost:5000
in your browser.
Your FluentCMS project is now running! Start exploring and building your Sites.
Before running the project, you may need to update some configuration settings in appsettings.json
or the launch profile.
-
Update
appsettings.json
:Located in the root of the project, this file contains essential configurations like database connection strings, logging, and environment-specific settings.
-
Update Launch Profile (Optional):
The launch settings can be found in the Properties/launchSettings.json file. This file defines profiles for how the application runs, such as ports, environment variables, and settings.
This repository currently contains four templates to help you start your project quickly. We will add more templates frequently.