Skip to content

An example application for the EZNEW.NET development framework

License

Notifications You must be signed in to change notification settings

six-net/Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Samples

示例应用

快速开始

  1. 下载安装 .NetCore5.0 SDK

  2. 下载安装 Visual Studio 2019

  3. EZNEW备用Nuget包地址:http://nuget.eznew.net/v3/index.json

  4. 下载项目:git clone https://github.com/eznew-net/Samples.git

  5. 默认使用MySQL8+数据库,在/src/api/Application/Api.Console/appsettings.json中配置数据库连接

  6. 创建数据库

    • 使用EF Migration创建数据库

      1. 打开命令行工具cmd.exe

      2. 安装ef工具:dotnet tool install --global dotnet-ef

      3. 导航到路径 /src/api/Application/App.EntityMigration 并运行命令: dotnet ef migrations add init

      4. 运行命令:dotnet ef database update

  7. 编译运行 Api.Console

  8. 导航到路径 src/web,运行命令 npm install cnpm -g --registry=https://registry.nlark.com

  9. 运行命令 cnpm install

  10. 运行命令 npm run serve

  11. 使用默认用户名密码登录:admin and default Password:admin

About

An example application for the EZNEW.NET development framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published