Skip to content

BlazorPublish

Marek Fišera edited this page Nov 8, 2018 · 9 revisions

These are steps to build and deploy Money-Blazor web application to Raspeberry PI.

Blazor-v0.6.0

  1. Build Money.UI.Backend using dotnet publish -c Release -r linux-arm.

Blazor-v0.4.0

  1. Build Money.UI.Backend using dotnet publish -c Release -r linux-arm.
  2. Copy custom build of Microsoft.AspNetCore.Blazor.Server (fixing linux path).
  3. Move content from bin\Release\netcoreapp2.1\linux-arm\publish\Money.UI.Blazor (as dist folder) to publish folder and delete (empty) Money.UI.Blazor folder.
  4. Copy libe_sqlite3.so (from package SQLitePCLRaw.bundle_green).

Blazor-v0.2.0

  1. Build Money.UI.Backend using dotnet publish -c Release -r linux-arm.
  2. Copy custom build of Microsoft.AspNetCore.Blazor.Server (fixing linux path).
  3. Move content from bin\Release\netcoreapp2.0\linux-arm\publish\Money.UI.Blazor (as dist folder) to publish folder and delete (empty) Money.UI.Blazor folder.
  4. Copy libe_sqlite3.so (from package SQLitePCLRaw.bundle_green).

Blazor-v0.1.0

  1. Build Money.UI.Backend using dotnet publish -c Release -r linux-arm.
  2. Copy custom build of Microsoft.AspNetCore.Blazor.Server (fixing linux path).
  3. Move content from bin\Release\netcoreapp2.0\linux-arm\publish\Money.UI.Blazor (as dist folder) to publish folder and delete (empty) Money.UI.Blazor folder.
  4. Copy index.html from normal build (not publish) (as blazor-boot is not replaced when publishing).
Clone this wiki locally