An open API service indexing awesome lists of open source software.

https://github.com/le4ndro/itcm

Sample project using Spring Boot, Thymeleaf and PostgreSQL
https://github.com/le4ndro/itcm

bootstrap3 font-awesome jquery spring-boot spring-mvc spring-security thymeleaf webjars

Last synced: 7 months ago
JSON representation

Sample project using Spring Boot, Thymeleaf and PostgreSQL

Awesome Lists containing this project

README

          

# 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
```

2. Create database on postgresql

```
$ createdb itcmdb_dev
```

3. 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)
```

4. 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)
```

5. Run the application

```
$ mvn spring-boot:run
```

## Deployment

1. Create an executable jar

```
$ mvn package
```

2. Run the application

```
$ java -jar target/ITCM-0.0.1-SNAPSHOT.jar
```

## Built With

* [Spring Boot](https://docs.spring.io/spring-boot/docs/1.3.1.RELEASE/reference/htmlsingle/) - The web framework used
* [Thymeleaf](https://www.thymeleaf.org/) - Template engine
* [Bootstrap](http://getbootstrap.com/docs/3.3/) - Html framework
* [WebJars](https://www.webjars.org/) - Client side packages
* [Maven](https://maven.apache.org/) - Dependency Management

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).

## Authors

* **Leandro Souza** - *Initial work*

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Acknowledgments

* This project is in development