Browse Source

Add ABP Studio initial tasks

pull/152/head
Engincan VESKE 3 months ago
parent
commit
69a2bd7bea
  1. 26
      etc/abp-studio/run-profiles/Default.abprun.json
  2. 3
      src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.abppkg
  3. 3
      src/EventHub.IdentityServer/EventHub.IdentityServer.abppkg
  4. 3
      src/EventHub.Web/EventHub.Web.abppkg

26
etc/abp-studio/run-profiles/Default.abprun.json

@ -57,5 +57,31 @@
"../../docker/infrastructure/postgres.yml": {} "../../docker/infrastructure/postgres.yml": {}
}, },
"serviceName": "eventhub" "serviceName": "eventhub"
},
"tasks": {
"Initialize Solution": {
"behaviour": 2,
"startCommand": "./initialize-solution.ps1",
"workingDirectory": "../../scripts",
"shortDescription": "Starts infrastructure, installs client-side libraries, and migrates the database."
},
"Start Infrastructure": {
"behaviour": 0,
"startCommand": "./start-infrastructure.ps1",
"workingDirectory": "../../scripts",
"shortDescription": "Starts PostgreSQL and Redis containers required by EventHub."
},
"Install Client-Side Libraries": {
"behaviour": 0,
"startCommand": "./install-libs.ps1",
"workingDirectory": "../../scripts",
"shortDescription": "Runs abp install-libs to restore client-side libraries."
},
"Migrate Database": {
"behaviour": 0,
"startCommand": "./migrate-database.ps1",
"workingDirectory": "../../scripts",
"shortDescription": "Runs EventHub.DbMigrator to apply migrations and seed data."
}
} }
} }

3
src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.abppkg

@ -1,3 +1,4 @@
{ {
"role": "host.http-api" "role": "host.http-api",
"projectId": "16bf089e-c7c0-4018-b28c-6ab20aa61a89"
} }

3
src/EventHub.IdentityServer/EventHub.IdentityServer.abppkg

@ -1,3 +1,4 @@
{ {
"role": "host.auth" "role": "host.auth",
"projectId": "14e56d04-b6d7-4d4e-b6a3-6cca4fe0457f"
} }

3
src/EventHub.Web/EventHub.Web.abppkg

@ -1,3 +1,4 @@
{ {
"role": "host.mvc" "role": "host.mvc",
"projectId": "ded62216-7e85-4481-9a16-2150a5e5ca68"
} }
Loading…
Cancel
Save