- With .NET Core installed, run
dotnet tool install -g Volo.Abp.Cli
- Load JS Dependencies: Navigate to
.\applications\Unity.GrantManager
and runabp install-libs
to install JavaScript dependencies. - Create the Database: If you are using Visual Studio, right click on the
Unity.GrantManager.DbMigrator
project, select Set as StartUp Project, then hit Ctrl+F5 to run it without debugging. It will create the initial database and seed the initial data. - Run the Web Application: Right click on the
Unity.GrantManager.Web
project, select Set as StartUp Project and run the application (F5 or Ctrl+F5 in Visual Studio).
- Update the entity classes and DbContext class
- In
Unity.GrantManager.EntityFrameworkCore
rundotnet ef migrations add <Name of your migration script>
in your command line.- To remove a newly created migration script, run
dotnet ef migrations remove
.
- To remove a newly created migration script, run
- Run the migration scripts by setting
Unity.GrantManager.DbMigrator
and running it.- Right click on
Unity.GrantManager.DbMigrator
and click "Set As Startup Project" Ctrl + F5
to run without debugging
- Right click on