Skip to content

bizhan/continuous-delivery-jump-start

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle sample application

This project is a simple, MVC-based web application written in Java. Its main purpose is to demonstrate implementation approaches for typical project automation requirements with the help of Gradle.

Technical implementation

  • Java-based web application.
  • Web requests handled by Spring MVC.
  • Dependency Injection with Spring Beans.
  • Unit tests implemented with JUnit and Mockito.
  • Integration tests use Spring Test.
  • Target runtime environment: Apache Tomcat.

Applied Gradle features

  • Usage of the Gradle Wrapper.
  • Deployment to an embedded Tomcat container for local development.

Running the application

You can directly run your application your local machine. There’s no need to install a Servlet container. In a terminal window execute the following command from the root level of the project:

*Mac OS X/nix

./gradlew tomcatRun

Windows

gradlew.bat tomcatRun

After a few moments, you will find the following output:

...
Started Tomcat Server
The Server is running at http://localhost:8080/sample-app

Open your browser of choice and navigate to the URL.

About

Sample application used for training "Continuous Delivery Jump Start"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.4%
  • Puppet 3.2%
  • Ruby 1.4%