Skip to content

minziappa/spring_sample

Repository files navigation

The sample for quick start project

Build Status

By Kim joon

About

Requirements environment

Using your local repositories

repositories {
   mavenCentral()
   mavenLocal()
}

You have to install on your local system.

compile "io.utility:utility:0.5"
compile "io.paging:paging:0.1"

utility paging

Get started

Make the database

document/make_table.ddl
document/make_data.ddl

Make an account on mysql

GRANT ALL PRIVILEGES ON sample_db.* TO admin@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON sample_db.* TO admin@'172.0.%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

Change a project name like the following:

sample -> project name

Deploy

Run this on your local system.

gradle jettyRun

Maven Junit Test & compile & make a war file

mvn -U clean package -P staging

Only skip Junit Test

mvn -U clean package -P staging -Dmaven.test.skip=true