Solvi Documentation > Installation > Setup and Installation

About Solvi

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

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 and OpenAI API key

  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.

  5. Follow this video to create your OpenAI API key. Once you have copied your API key, go to appsettings.json and paste the API key to replace PasteYourOpenAIAPIKeyHere for OpenAiApiKey

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

Common issue: Warning icons on Dependencies > Packages

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

  1. Restore NuGet Packages:
  2. Clear the NuGet Cache:
  3. Check .NET SDK and Runtime Version:
  4. Reinstall Dependencies:

Lastly, right-click on the solution and click "Clean Solution". Then, click "Rebuild Solution".

Try these steps and see if they resolve the issue. Let me know if the problem persists after attempting these solutions. I’d be happy to assist further. Thank you!