Installation Guide
Welcome to our installation guide! This comprehensive guide will walk you through setting up your development environment step by step. Follow these instructions carefully to ensure a successful setup of our platform.
Prerequisites
Before beginning the installation process, ensure you have the following installed:
- Git
- Node.js (LTS version 22.0.0 recommended)
- .NET 8.0 SDK or later
- Visual Studio 2022 or later
- SQL Server 2019 or later
Clone the Repository
To begin, clone the framework repository and navigate to its root directory:
To begin, clone the framework repository and navigate to its root directory:
git clone <repository-url>
cd UW.Platform
Install Angular Dependencies
Next, install the necessary dependencies for the Angular front end:
- Using Dependency Installer
Run DependencyInstaller.bat from the solution root.
- Manual Dependency Installation
cd src/WebClients/HostClient
npm install
Database Creation and Seeding
- Using MigratorExecutor
Run MigratorExecutor.bat from the solution root. How to run Migrator
- Manual Migration
If you prefer manual migration, use the following command:
dotnet ef Tutorial - Basics update --project src/UW.Platform.Infrastructure --startup-project src/WebApps/UW.Platform.HostApi
For more details, refer to the Migration Documentation.
Running the Application
Backend Services
1. Set Startup Projects
- Open Solution Explorer in Visual Studio.
- Right-click the solution and select Set Startup Projects.
- In the dialog:
- Choose Multiple startup projects.
- Set the following projects to Start:
UW.Platform.HostApiUW.Platform.TenantApi
2. Configure Launch Settings
- HostApi typically runs on:
https://localhost:3100 - TenantApi typically runs on:
https://localhost:4100
Frontend Application
1. Configure the Environment
Update the environment.ts file located at src/WebClients/HostClient/src/environments/environment.ts:
export const environment = {
production: false,
baseApiUrl: 'https://localhost:3100',
hostApiUrl: 'https://localhost:4100'
};