Giter Club home page Giter Club logo

sample-chat's Introduction

Configure

Build Status

web.xml

Default database type is hsql

    <!--
        Active database environment supported values are: mysql, hsql
    -->
    <context-param>
        <param-name>db.env</param-name>
        <param-value>hsql</param-value>
    </context-param>

By default spring environment profile dev use liquibase to recreate database schema when application starts. It activated by default only for demo. Liquibase will drop all data and recreate schema any time when application starts.

    <!--
        Active spring profile
    -->
    <context-param>
       <param-name>spring.profiles.default</param-name>
       <param-value>dev</param-value>
    </context-param>
JDBC settings

Build

Build without tests

mvn  clean package -DskipTests=true

Build and run intergration test for hsql

mvn clean package -Ddb.env=hsql -Dspring.profiles.active=dev

Build and run intergration test for mysql

mvn clean package -Ddb.env=mysql -Dspring.profiles.active=dev

Run

Run Tomcat6 on port 8082 with hsql :

mvn tomcat6:run -Ddb.env=hsql -Dspring.profiles.active=dev -Dmaven.tomcat.port=8282

Run Tomcat6 on port 8082 with mysql :

mvn tomcat6:run -Ddb.env=mysql -Dspring.profiles.active=dev -Dmaven.tomcat.port=8282

sample-chat's People

Contributors

barogi avatar

Watchers

James Cloos 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.