Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 890 Bytes

Configuration.md

File metadata and controls

40 lines (28 loc) · 890 Bytes

Configuration

Before running the application, you'll need to configure various settings.

App Settings

Open the appsettings.json file and configure the following sections:

{
  "ConnectionStrings": {
    "DefaultConnection": "Your database connection string here"
  },
  "Stellar": {
    "Network": "TestNet", // or "PublicNet"
    "HorizonUrl": "https://horizon-testnet.stellar.org" // or the public network URL
  },
  "Logging": {
    // Logging configuration
  },
  "AllowedHosts": "*"
}

Database Configuration

The project uses Entity Framework Core with a SQL Server database by default. You can change the database provider or connection string as needed.

Update the Connection String:

  • Replace "Your database connection string here" with your actual database connection string.

Apply Migrations:

dotnet ef database update