the latest net with abp framework and years of accumulation libraries
add-migration [MySqlMigrationName] -c MySqlMigrationsDbContext -o Migrations\MySqlMigrations Script-Migration -From "[migration_pre文件名]" -To "[migration_next文件名]" -context MySqlMigrationsDbContext update-database -c MySqlMigrationsDbContext
add-migration [PgSqlMigrationName] -c PgSqlMigrationsDbContext -o Migrations\PgSqlMigrations Script-Migration -From "[migration_pre文件名]" -To "[migration_next文件名]" -context PgSqlMigrationsDbContext update-database -c PgSqlMigrationsDbContext
add-migration [SqlServerMigrationName] -c SqlServerMigrationsDbContext -o Migrations\SqlServerMigrations Script-Migration -From "[migration_pre文件名]" -To "[migration_next文件名]" -context SqlServerMigrationsDbContext update-database -c SqlServerMigrationsDbContext
dotnet ef dbcontext list ----查看当前启动项目 dbcontext有那些 dotnet ef migrations add Update3 -c xxxDbContext ----添加指定DbContext的 migration迁移脚本 dotnet ef migrations script -c xxxDbContext --经测试,只有这样写才可以,把全部的sql都script出来
docker system prune — 删除所有未使用的容器、网络以及无名称的镜像(虚悬镜像)
docker rmi xxx
docker stack down parakeet
docker stack deploy -c docker-compose-parakeet.yml parakeet
Docker push 镜像名
/etc/nginx/conf.d/xxx.xxx.com.conf 编辑这个文件,指定域名解析到的vpn对应本机的ip, 保存后执行reload配置文件命令即可【可以通过vim命令或者secureCRT可视化编辑】 vim /etc/nginx/conf.d/xxx.xxx.com.conf nginx -s reload
dotnet tool update -g Volo.Abp.Cli
abp new Parakeet.Net -dbms PostgreSQL --tiered -csf --version 6.0.2
abp new Parakeet.Net -t app-nolayers -csf --version 6.0.2
abp new Parakeet.Net -t module -csf --version 6.0.2
abp new Parakeet.Net -t module --no-ui -csf --version 6.0.2
abp new Parakeet.Net -t app-nolayers --theme basic -csf --version 6.0.2
abp cli remove dotnet tool install -g Volo.Abp.Cli --version 6.0.2
abp install-libs --version 6.0.2 会自动把最小依赖安装包自动安装到 /wwwroot/libs 目录下 或者直接去源码测试项目路径找:abp\framework\test\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo\wwwroot\libs