ABP Commercial 7.2.1 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme
We are deploying our application to an Azure App Service. The application startup exceptions because of the wwwroot/libs
folder not existing.
I know that libs
folder contents are excluded from source control (.gitignore) and that in a development environment we can run abp install-libs
, but in a production deployment process using a DevOps build/release pipeline (running in a MS build agent), how can we accomplish the install-libs
functionality for a deployment to an App Service. Can an app service run an ABP CLI command?
Any suggestions is greatly appreciated.
-Brian
5 Answer(s)
-
0
hi
You can install abp CLI and run
abp install-libs
command in your pipeline. -
0
Hi @maliming,
Thank you. Any ideas on how to go about installing the abp CLI in the pipeline?
-
0
hi
You can install it afer installing the dotnet SDK.
dotnet tool install --global Volo.Abp.Cli
https://www.nuget.org/packages/Volo.Abp.Cli/
-
0
Thanks @maliming
Our pipeline is working now with your help.
Quick question - should we always be using the latest version of the CLI in the pipeline, even if we are not on the latest version of ABP. For instance, we are on ABP 7.2.1 and using CLI version 7.0.1 (this was the latest CLI version when we upgraded to APB 7.2.1) in development. Should our pipeline target the same version we are using in development or is it safe to just always use the latest version of the CLI regardless of the ABP version.
Thanks!
-
0
hi
For
install-libs
command it generally does not need to be kept up to date.