This is a demo for how to integrate Spring MCV with Apache Tiles and AdminLTE (a Bootstrap 3 based Admin Panel template).
Spring-Tiles-Sample-App uses a number of open source projects:
$ 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"
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
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
The following tools are used to create this project :
The MIT License (MIT)
Copyright (c) 2015 Sanjay Rawat