Sample project using Spring Boot, Thymeleaf and PostgreSQL
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software
- Java JDK 8
- Apache Maven
- PostgreSQL Database
- Clone this repository
$ git clone https://github.com/le4ndro/ITCM.git
$ cd ITCM
- Create database on postgresql
$ createdb itcmdb_dev
- Make a local copy of set_env.sample.sh
$ cp set_env.sample.sh set_env.sh (or rename set_env.sample.bat to set_env.bat on Windows)
- Edit your set_env.sh (or set_env.bat on Windows) file with your parameters and set variables for your environment
$ chmod 755 set_env.sh
$ source ./set_env.sh
(or run set_env.bat on Windows)
- Run the application
$ mvn spring-boot:run
- Create an executable jar
$ mvn package
- Run the application
$ java -jar target/ITCM-0.0.1-SNAPSHOT.jar
- Spring Boot - The web framework used
- Thymeleaf - Template engine
- Bootstrap - Html framework
- WebJars - Client side packages
- Maven - Dependency Management
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Leandro Souza - Initial work
This project is licensed under the MIT License - see the LICENSE file for details
- This project is in development