Skip to content

Simplify-study/SpringBootSampleWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBootSample

Spring Boot Sample project for https://4urdev.tistory.com

Create and access authority

Create Log folder

# sudo mkdir /log

access authority

# sudo chown {account_id} /log

Database Configuration

Contents

spring.datasource.url={url}
spring.datasource.username={id}
spring.datasource.password={password}

Windows

c:/dev/config.properties

Linux

~/env/config.properties

Run Spring boot with spring profile

Available Profiles

profile Description
log-windows Write log files in c:/dev/log/spring
log-linux Write log files in /log/spring
log-jdbc Show(Write) jdbc logs
log-file Write logs in files
log-console Show logs in console(std-out)

Run on Tomcat (tested in Tomcat 8.5)

To run on Tomcat, run Maven build this project, in /target foler, SpringBootSampleWeb.war file copy to 'webapp' folder for Tomcat.

About

Spring Boot Project for Tomcat deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages