Code Monkey home page Code Monkey logo

samples's Introduction

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

samples's People

Contributors

lidingbin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.