Skip to content
/ ITCM Public

Sample project using Spring Boot, Thymeleaf and PostgreSQL

License

Notifications You must be signed in to change notification settings

le4ndro/ITCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITCM

Sample project using Spring Boot, Thymeleaf and PostgreSQL

Getting Started

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.

Prerequisites

What things you need to install the software

  • Java JDK 8
  • Apache Maven
  • PostgreSQL Database

Installing

  1. Clone this repository
$ git clone https://github.com/le4ndro/ITCM.git
$ cd ITCM
  1. Create database on postgresql
$ createdb itcmdb_dev
  1. 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)
  1. 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)
  1. Run the application
$ mvn spring-boot:run

Deployment

  1. Create an executable jar
$ mvn package
  1. Run the application
$ java -jar target/ITCM-0.0.1-SNAPSHOT.jar

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Leandro Souza - Initial work

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • This project is in development