NB! THIS IS A WORK-IN-PROGRESS HOBBY PROJECT!
No guarantees are made about the quality of the software or the source code.
Use/browse at your own risk!
Web application that archives content from online video platforms (currently only YouTube).
Started as a university homework project.
NB!
Postgres' max_prepared_transactions option must be set to higher than the default 0.
Preferably at least one per connection?
Start local dev DB:
docker compose up db -d
Example of configuring SEQ logging is in dev appsettings.
To override the API key in user secrets without redefining the entire logging config, use the config key Logging:Serilog:WriteTo:1:Args:apiKey
.
dotnet tool restore
(In solution root directory)
- Add migration:
dotnet ef migrations add --project RescueTube.DAL.EF.Postgres --startup-project WebApp
- Remove migration:
dotnet ef migrations remove --project RescueTube.DAL.EF.Postgres --startup-project WebApp
- Update to latest migration:
dotnet ef database update --project RescueTube.DAL.EF.Postgres --startup-project WebApp
- Add migration:
dotnet ef database update MigrationName --project RescueTube.DAL.EF.Postgres --startup-project WebApp