-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #943 from colinin/deploy
deploy: add once deployment script
- Loading branch information
Showing
98 changed files
with
1,628 additions
and
1,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
version: '3.4' | ||
|
||
services: | ||
vue-vben-client: | ||
ui: | ||
build: | ||
context: . | ||
restart: always | ||
environment: | ||
- VITE_GLOB_AUTHORITY=http://127.0.0.1:44385 | ||
ports: | ||
- "40080:80" | ||
networks: | ||
- framework | ||
- abp-next-admin | ||
|
||
networks: | ||
framework: | ||
external: | ||
name: ly_app_net | ||
abp-next-admin: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ if '%3' equ '' goto run | |
exit | ||
|
||
:run | ||
dotnet run | ||
start cmd.exe /c dotnet run | ||
goto end | ||
|
||
:restore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 15 additions & 7 deletions
22
aspnet-core/migrations/LY.MicroService.AuthServer.DbMigrator/appsettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
...roService.AuthServer.EntityFrameworkCore/AuthServerMigrationsEntityFrameworkCoreModule.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 30 additions & 27 deletions
57
...t-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/BackendAdminDbMigratorModule.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,45 @@ | ||
using LINGYUN.Abp.TextTemplating; | ||
using LINGYUN.Abp.Auditing; | ||
using LINGYUN.Abp.CachingManagement; | ||
using LINGYUN.Abp.Identity; | ||
using LINGYUN.Abp.IdentityServer; | ||
using LINGYUN.Abp.LocalizationManagement; | ||
using LINGYUN.Abp.MessageService; | ||
using LINGYUN.Abp.Notifications; | ||
using LINGYUN.Abp.OpenIddict; | ||
using LINGYUN.Abp.OssManagement; | ||
using LINGYUN.Abp.SettingManagement; | ||
using LINGYUN.Abp.TaskManagement; | ||
using LINGYUN.Abp.TextTemplating; | ||
using LINGYUN.Abp.WebhooksManagement; | ||
using LINGYUN.Platform; | ||
using LY.MicroService.BackendAdmin.EntityFrameworkCore; | ||
using Volo.Abp.Authorization.Permissions; | ||
using Volo.Abp.Autofac; | ||
using Volo.Abp.FeatureManagement; | ||
using Volo.Abp.Features; | ||
using Volo.Abp.Modularity; | ||
using Volo.Abp.PermissionManagement; | ||
using Volo.Abp.SettingManagement; | ||
|
||
namespace LY.MicroService.BackendAdmin.DbMigrator; | ||
|
||
[DependsOn( | ||
typeof(BackendAdminMigrationsEntityFrameworkCoreModule), | ||
typeof(AbpFeatureManagementApplicationContractsModule), | ||
typeof(AbpSettingManagementApplicationContractsModule), | ||
typeof(AbpPermissionManagementApplicationContractsModule), | ||
typeof(AbpLocalizationManagementApplicationContractsModule), | ||
typeof(AbpCachingManagementApplicationContractsModule), | ||
typeof(AbpAuditingApplicationContractsModule), | ||
typeof(AbpTextTemplatingApplicationContractsModule), | ||
typeof(AbpIdentityApplicationContractsModule), | ||
typeof(AbpIdentityServerApplicationContractsModule), | ||
typeof(AbpOpenIddictApplicationContractsModule), | ||
typeof(PlatformApplicationContractModule), | ||
typeof(AbpOssManagementApplicationContractsModule), | ||
typeof(AbpNotificationsApplicationContractsModule), | ||
typeof(AbpMessageServiceApplicationContractsModule), | ||
typeof(TaskManagementApplicationContractsModule), | ||
typeof(WebhooksManagementApplicationContractsModule), | ||
typeof(AbpAutofacModule) | ||
)] | ||
public partial class BackendAdminDbMigratorModule : AbpModule | ||
{ | ||
public override void ConfigureServices(ServiceConfigurationContext context) | ||
{ | ||
Configure<SettingManagementOptions>(options => | ||
{ | ||
options.IsDynamicSettingStoreEnabled = true; | ||
options.SaveStaticSettingsToDatabase = true; | ||
}); | ||
Configure<FeatureManagementOptions>(options => | ||
{ | ||
options.IsDynamicFeatureStoreEnabled = true; | ||
options.SaveStaticFeaturesToDatabase = true; | ||
}); | ||
Configure<PermissionManagementOptions>(options => | ||
{ | ||
options.IsDynamicPermissionStoreEnabled = true; | ||
options.SaveStaticPermissionsToDatabase = true; | ||
}); | ||
Configure<AbpTextTemplatingCachingOptions>(options => | ||
{ | ||
options.IsDynamicTemplateDefinitionStoreEnabled = true; | ||
options.SaveStaticTemplateDefinitionToDatabase = true; | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 15 additions & 5 deletions
20
aspnet-core/migrations/LY.MicroService.BackendAdmin.DbMigrator/appsettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.