Git Product home page Git Product logo

scf's Introduction

SCF - SenparcCoreFramework

SenparcCoreFramework(SCF) 是一整套可用于构建基础项目的框架,包含了基础的缓存、数据库、模型、验证及配套管理后台,模块化,具有高度的可扩展性。

说明:SCF 由盛派(Senparc)团队经过多年优化迭代的自用系统底层框架 SenparcCore 整理而来,经历了 .NET 3.5/4.5 众多系统的实战检验,并最终移植到 .NET Core,目前已在多个 .NET Core 系统中稳定运行,在将其转型为开源项目的过程中,需要进行一系列的重构、注释完善和兼容性升级,目前尚处于雏形阶段,希望大家多提意见,我们会争取在最短的时间内优化并发布第一个试用版(Preview1)。感谢大家一直以来的支持!

Preview1 版本中,我们将提供更加完善的模块化架构和辅助工具,当前源码已经可用于学习和测试使用。

SCF 将提供完善的项目自动生成服务(参考 WeChatSampleBuilder),为开发者提供项目定制生成服务。

环境要求

如何安装

SCF 将提供全自动的安装程序,目前正在整理阶段。发布之前,您可以通过以下手动方法开始使用:

第一步:准备数据库

确保已经安装 SQL Server 2008 及以上版本,系统登录用户具有数据库创建权限(可以不需要使用sa等账号登录),如果必须要使用账号登录,请看这里

第二步:准备命令行工具

方法一(推荐):

  1. 使用命令行工具或 PowerShell 进入 src/Senparc.Web 路径,例如:E:\SenparcCoreFramework\SCF\src\Senparc.Web

  2. 输入命令:dotnet ef database update 回车

方法二(要看运气):

  1. 同步源代码到本地后,使用 Visual Studio 打开 /src/SCF.sln

  2. 在 VS 菜单中选择【工具】>【Nuget包管理器】>【程序包管理器控制台】,打开命令窗口

  3. 在【程序包管理器控制台】中的【默认项目】列表中选中 Senparc.Web(默认就是),在 PM> 符号后输入命令:update-database 回车

等待结果

稍等片刻(会自动编译一次项目,因此请勿修改项目代码),完成后输出如下结果,表示数据库安装成功:

Applying migration '20181130085128_init'.
Done.

第三步:初始化数据

  1. Senparc.Web 项目设为启动项目,并运行,地址如:http://localhost:11946/

  1. 打开 http://localhost:11946/Install ,数据库将会自动初始化。

  1. 完成后,保存页面上显示的账号和密码,根据提示进入管理员后台。

待办事项:

[ ] 前端包管理器要从Bower切换为LibMan

scf's People

Contributors

jeffreysu avatar ltm0203 avatar francisfyk 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.