# ofsp **Repository Path**: amuliang/ofsp ## Basic Information - **Project Name**: ofsp - **Description**: No description available - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2017-12-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目结构 AmuSqlHelper 数据库操作库 app 项目代码 |----Common 资源文件夹,非打包页面使用 |----Controllers 控制器文件夹 |----base 接口基础类文件夹 |----branch 接口分支类文件夹 |----ApiController.cs 接口控制器 |----ViewController.cs 视图控制器 |----Models 模型类文件夹 |----StoredProcedures 存储过程文件夹 |----Static 资源文件夹,webpack打包页面使用 |----Views 视图文件夹 |----Resources 动态资源文件夹 views vue+webpack前端框架 app.sln 解决方案启动文件 webpack打包后将页面打包到app/Views/view文件夹下,资源文件打包到app/Static文件夹下 # 开始开发 ## 开发环境 需要Microsoft Visual Studio 2015开发环境 需要sqlserver2008及以上版本数据库 需要安装nodejs,git ## 打包页面 在views文件夹下,右键选择运行 git bash here,可以输入如下命令 ``` bash # 安装依赖,首次pull项目必须执行 npm install # 开发者模式运行 npm run dev # 产品模式,打包文件 npm run build ``` ## 启动项目 首次运行项目,AmuSqlHelper代码还不存在,首先在根目录git运行 ``` git clone https://github.com/amuliang/AmuSqlHelper.git ``` 打开app.sln,直接调试运行即可