Skip to content

Quick Start

Huy Nguyen edited this page Apr 5, 2025 · 2 revisions

Quick Start Guide

This guide will help you get started with Mixcore CMS quickly. We'll cover the basic setup and create your first application.

Prerequisites

  • .NET 9.0 SDK
  • Docker (optional, for containerized deployment)
  • Git
  • A code editor (Visual Studio, VS Code, or Rider recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/mixcore/mix.core.git
    cd mix.core
  2. Restore dependencies:

    dotnet restore
  3. Build the solution:

    dotnet build

Running the Application

  1. Start the development server:

    dotnet run --project src/applications/mix.spa.portal
  2. Open your browser and navigate to:

    http://localhost:5000
    

Creating Your First Application

  1. Create a new application using the Mixcore CLI:

    dotnet new mixcore-app -n MyFirstApp
  2. Navigate to your new application:

    cd MyFirstApp
  3. Add the application to the solution:

    dotnet sln add MyFirstApp/MyFirstApp.csproj
  4. Build and run your application:

    dotnet build
    dotnet run --project MyFirstApp

Basic Configuration

  1. Open appsettings.json in your application:

    {
      "ConnectionStrings": {
        "DefaultConnection": "Server=localhost;Database=mixcore;Trusted_Connection=True;"
      },
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft": "Warning",
          "Microsoft.Hosting.Lifetime": "Information"
        }
      }
    }
  2. Configure your database connection string according to your environment.

Next Steps

Need Help?

Clone this wiki locally