Skip to content

Spring MVC - Apache Tile - AdminLTE Bootstrap template - Sample Application

License

Notifications You must be signed in to change notification settings

RawSanj/spring-tiles-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Tiles-AdminLTE-Demo-App

Spring MVC - Spring Data JPA - Spring Security - AdminLTE Bootstrap template - Apache Tile - Sample Application

This is a demo for how to integrate Spring MCV with Apache Tiles and AdminLTE (a Bootstrap 3 based Admin Panel template).

  • Spring
  • Apache Tiles
  • AdminLTE - A Bootstrap template

Tech

Spring-Tiles-Sample-App uses a number of open source projects:

  • Spring Framework - Core support for dependency injection, transaction management, web applications, data access, messaging, testing and more.
  • Spring Data JPA - Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories.
  • Spring Security - Spring Security is a powerful and highly customizable authentication and access-control framework.
  • Apache Tiles - A free open-sourced templating framework for modern Java applications.
  • AdminLTE - Free Premium Admin control Panel Theme based On Bootstrap 3.
  • Twitter Bootstrap - Great UI boilerplate for modern web apps.
  • jQuery - jQuery is a fast, small, and feature-rich JavaScript library.

Installation

$ git clone https://github.com/RawSanj/spring-tiles-sample-app.git

Run this application using embedded Jetty Server and HSQL in-memory DB Server:

mvn -P dev jetty:run -Dspring.profiles.active="dev"

Or run this application using embedded Tomcat7 server(or Jetty) and PostgreSql DB Server:

mvn -P dev tomcat7:run -Dspring.profiles.active="prod"

Run in Docker

Run locally:

Build the WAR file:

$ mvn package

Build docker image:

$ docker build . -t spring-tiles-sample-app

Run docker image:

$ docker run -d -p 8080:8080 spring-tiles-sample-app

Run on Cloud:

Try http://play-with-docker.com for running docker on browser without any local setup.

Pull the docker image:

$ docker pull rawsanj/spring-tiles-sample-app

Run the docker image:

$ docker run -d -p 8080:8080 rawsanj/spring-tiles-sample-app

Tools

The following tools are used to create this project :

  • Spring Tool Suite
  • Maven
  • Google Chrome
  • Git

License

The MIT License (MIT)

Copyright (c) 2015 Sanjay Rawat