By Kim joon
- More information about Freemarker.
- More information about Spring4.
- More information about Mybatis3
- More information about Gradle.
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"
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
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