Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Abp.Io
- ## Prerequistites
- ### Install latest dotnet core sdk version
- Download from https://dotnet.microsoft.com/download
- ### Install latest dotnet-ef version
- ```
- dotnet tool install --global dotnet-ef
- ```
- ### Install ABP.IO cli
- ```
- dotnet tool install -g Volo.Abp.Cli
- ```
- ## Generate project
- ```
- abp new Usi.DgtManager -t app -u angular --separate-identity-server --connection-string "Server=localhost;Database=UsiDgtManagerDb;User Id=UsiDgtManagerDbSa;Password=UsiDgtManagerDbSa123;Trusted_Connection=True;MultipleActiveResultSets=true"
- ```
- ```
- docker run -e ACCEPT_EULA=Y -e SA_PASSWORD=YourStrongPassw0rd -p 1433:1433 --name sqlAbpIo -d mcr.microsoft.com/mssql/server:2017-latest
- docker exec -it sqlAbpIo /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P YourStrongPassw0rd -Q " CREATE LOGIN AngularSa WITH Password ='AngularSa123'; use master; create database Angular; "
- docker exec -it sqlAbpIo /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P YourStrongPassw0rd -Q" use Angular;create user AngularSa from login AngularSa;ALTER USER [AngularSa] WITH DEFAULT_SCHEMA=[dbo];exec sp_addrolemember 'db_owner', 'AngularSa';"
- cd aspnet-core/src/Abpio.TemplateApp.Angular.EntityFrameworkCore
- dotnet ef database update
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement