Manage your recollections
Currently published to private repository.
Here are some tips and tricks.
We have an Aspire app host.
dotnet tool restoredotnet watch build src/Recollections.Blazor.UIto make Blazor recompile on changedotnet run ./src/AppHost.csto run the app host
To seed the local development databases and media with the sample users/stories used for screenshots:
dotnet run ./src/SampleDataSeeder.csSample credentials:
jondoe / demo1234(premium)janedoe / demo1234billdoe / demo1234
Drop optimized photos into assets/sample-data/media/ and rerun the seeder to refresh the media used in the demo dataset. If the folder is empty, the seeder falls back to bundled repo images so the structure still comes up populated.
The PWA manifest screenshot assets live in src/Recollections.Blazor.UI/wwwroot/img/screenshots/; replace those files in place when you have final curated captures.
Ctrl+Shift+B
- Compile SCSS
Execute from command line in root git repository folder:
dotnet ef migrations add {name} --startup-project src\Recollections.Api --project {data_project} --context {context}Example:
dotnet ef migrations add NewMigration --startup-project src\Recollections.Api --project src\Recollections.Entries.Data --context Neptuo.Recollections.Entries.DataContextFrom the API project folder:
dotnet publish --os linux --arch x64 /t:PublishContainer- Update release notes
- Remove aspnetcore hotreload script
From the blazor UI project folder:
dotnet publish -c Release -p:RunAOTCompilation=true