You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If users create such a solution (tiered, MVC, EF Core), we can check these requirements and WARN the user before and after creating the project.
We may skip the IDE check; maybe they won't use an IDE; however, without Node, solution creation will fail because it will not be able to install client-side packages. That list also needs to be included. For example, EF Core command line tools (dotnet ef ...) is also a requirement because we are creating the initial migrations.
So, these are required to create such a solution. We can show a colorful WARNING message (background = black, foreground = yellow) (message can be "WARNING: The following tools should be installed on this machine to be able to successfully create this solution. Otherwise, you may get errors on solution creation process.") and ask the user to either cancel the operation or continue BEFORE starting the solution creation process (if they continue, they will probably get an error, but let them go if they want).
There are also some requirements needed not to create the solution but to run it. For example, Redis, in this list, is such a requirement. We should show a colorful WARNING message (message can be "NOTICE: The following tools is required to run your solution.") AFTER creating the solution if we can not detect a local Redis instance.
EF Core, for example, can be auto-installed by ABP CLI, if not found in the computer.
So, with this issue;
Auto-install some dependencies (EF Core is a good example, but installing Redis is not a good idea, and installing Node may not be easy/possible), so do your best.
Show a WARNING for some missing dependencies (required to create the solution) BEFORE solution creation, and let the user to continue or cancel.
Show a WARNING for some missing dependencies (required to run the solution) AFTER solution creation. No use action in that case, exit from CLI as normal.
Notice that dependencies may vary based on the solution preferences.
The text was updated successfully, but these errors were encountered:
There are some prerequisites to be able to create, build and run the ABP startup templates.
For example https://docs.abp.io/en/abp/latest/Getting-Started-Setup-Environment?UI=MVC&DB=EF&Tiered=Yes
Requirements for that solution configuration:
An IDE (e.g. Visual Studio) that supports .NET 7.0+ development.
Node v16 or v18
Yarn v1.20+ (not v2) 1 or npm v6+ (already installed with Node)
Redis (the startup solution uses the Redis as the distributed cache).
If users create such a solution (tiered, MVC, EF Core), we can check these requirements and WARN the user before and after creating the project.
We may skip the IDE check; maybe they won't use an IDE; however, without Node, solution creation will fail because it will not be able to install client-side packages. That list also needs to be included. For example, EF Core command line tools (
dotnet ef ...
) is also a requirement because we are creating the initial migrations.So, these are required to create such a solution. We can show a colorful WARNING message (background = black, foreground = yellow) (message can be "WARNING: The following tools should be installed on this machine to be able to successfully create this solution. Otherwise, you may get errors on solution creation process.") and ask the user to either cancel the operation or continue BEFORE starting the solution creation process (if they continue, they will probably get an error, but let them go if they want).
There are also some requirements needed not to create the solution but to run it. For example, Redis, in this list, is such a requirement. We should show a colorful WARNING message (message can be "NOTICE: The following tools is required to run your solution.") AFTER creating the solution if we can not detect a local Redis instance.
EF Core, for example, can be auto-installed by ABP CLI, if not found in the computer.
So, with this issue;
Notice that dependencies may vary based on the solution preferences.
The text was updated successfully, but these errors were encountered: