mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
33ef17f73d
Add a Timeweb deployment guide and improve secret handling and migrations. - docs/timeweb-deployment.md: deployment and migration instructions for Timeweb. - .gitignore: ignore a secrets/ folder. - Govor.API.csproj: ensure secrets/** are not copied to output/publish. - Program.cs: add --migrate-only flag (removes it from args), skip Firebase init when migrating, accept Firebase credentials via CredentialsJson or CredentialsPath/GOOGLE_APPLICATION_CREDENTIALS, resolve relative paths against content root, apply pending EF Core migrations and exit while logging progress. Normal API startup behaviour unchanged (migrations are applied only with --migrate-only).
45 lines
1.8 KiB
XML
45 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BCrypt.Net-Next" Version="4.2.0" />
|
|
<PackageReference Include="FirebaseAdmin" Version="3.6.0" />
|
|
<PackageReference Include="AutoMapper" Version="16.2.0" />
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.10" />
|
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.10" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.10" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.10" />
|
|
|
|
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.3" />
|
|
<PackageReference Include="NSwag.AspNetCore" Version="14.4.0" />
|
|
|
|
<PackageReference Include="Microting.EntityFrameworkCore.MySql" Version="10.0.10" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="SmartRes">
|
|
<HintPath>..\libs\SmartRes.dll</HintPath>
|
|
</Reference>
|
|
<ProjectReference Include="..\Govor.Application\Govor.Application.csproj" />
|
|
<ProjectReference Include="..\Govor.Contracts\Govor.Contracts.csproj" />
|
|
<ProjectReference Include="..\Govor.Domain\Govor.Domain.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="logs\" />
|
|
<Folder Include="uploads\" />
|
|
<Content Remove="secrets/**" />
|
|
<None Update="secrets/**" CopyToOutputDirectory="Never" CopyToPublishDirectory="Never" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|