Premmerce Documentation > Installation > Setup and Installation

About Premmerce

Introduction

Full Features

Installation

Prerequisite

Setup & Installation

Table or Grid

Basic Usage

Disable Column Sorting

Disable Column Export

Change Search Placeholder

Custom Column Template

Add Buttons to Action Column

Hyperlink Column Text

Specific Roles to View Column

Add or remove column

Filter column

CSS and JS

Edit Color

File validation

General

Password Validation

Bulk Import

Other

Setup Guide Document

Setup Video

https://youtu.be/-ZQ3MIfjyYY


Text version:

Download and Open the Project

  1. Download the Project:
  2. Extract Files:
  3. Open the Project:

Setup and Run the Project

Step 1: Configure the Database Connection

  1. Open the appsettings.json file.

  2. Locate the DefaultConnection key under the ConnectionStrings section.

  3. Replace the placeholder value with your actual database connection string. For example:

    "ConnectionStrings": {
        "DefaultConnection": "Server=YourServerName;Database=YourDatabaseName;User Id=YourUsername;Password=YourPassword;"
    }
    
  4. How to get the connection string? You may watch this video: https://youtu.be/WjLV5ccuzaU?si=3adrNcKEMdlj0-oP&t=172. Start from 2.52 to 3.48.

Step 2: Apply Database Migrations

  1. Open the Package Manager Console in Visual Studio:

  2. Run the following command to apply the existing migration and create the database:

    Update-Database
    
  3. Once the command completes, the database will be created with the necessary tables and structure.

Step 3: Run the Application

  1. Press Ctrl+F5 or click Debug > Start without debugging in Visual Studio
  2. Done! The application is running now.

Register the First Account

<aside> ⛔

Skip this if you plan to insert demo data with PremmerceDemoData.sql.

</aside>

Insert Demo Data

  1. Open the PremmerceDemoData.sql file, copy the script, and execute it in your database. This will automatically insert all demo data—including accounts, products, blogs, FAQs, categories and more—into your database.
  2. Once that’s done, go back to Visual Studio 2022, press Ctrl + F5 to build and run the project!

Common issue: Warning icons on Dependencies > Packages

Here are some steps you can take to troubleshoot this issue:

  1. Right-click the solution and select "Clean Solution"
  2. Right-click the solution and select "Rebuild Solution"
  3. The issue should now be resolved. If it still persists, please try the following additional steps.
  4. Restore NuGet Packages:
  5. Clear the NuGet Cache: