Giter Club home page Giter Club logo

bc-framework's Introduction

bc平台基础架构

浏览地址: https://github.com/rongjihuang/bc-framework
源码检出: [email protected]:rongjihuang/bc-framework.git

一) 平台编译发布需要的工具
ant1.8+、maven3+、java1.5+

二) 生成数据库的构建脚本:
    >ant build
    运行后会在build目录下生成如下名称的sql文件
    1) db.[dbtype].drop.sql 删除数据库表的脚本
    2) db.[dbtype].create.sql 数据库的建表脚本
    3) db.[dbtype].data.sql 数据库的初始化数据
    * [dbtype]可能的值为mysql、oracle、mssql,目前仅mysql可用。

二) 编译发布步骤
mysql:
    1) 用mysql命令行创建名为bcdemo的数据库,分配用户bcdemo,密码也设为bcdemo
	   mysql命令可参考 http://rongjih.blog.163.com/blog/static/3357446120114623715117/
    2) 用上面生成的sql脚本初始化数据库
       >mysql -ubcdemo -pbcdemo bcdemo < db.mysql.drop.sql
       >mysql -ubcdemo -pbcdemo bcdemo < db.mysql.create.sql
       >mysql -ubcdemo -pbcdemo bcdemo < db.mysql.data.sql
    3) 执行>mvn clean install -Dmaven.test.skip=true
oracle:
    1) 

bc-framework's People

Watchers

 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.