Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Java Blog Aggregator: Boot

This application is a successor of original Java Blog Aggregator. It uses Spring boot and runs as a standalone JAR file, JSP and Tiles were switched to Thymeleaf and I organized JavaScript much better.

Development:

Run with: -Dspring.profiles.active="dev"

Will run on http://localhost:8080 with embedded HSQL database, username / password: admin / admin

Production:

Packaging: mvn clean package -P prod

Run: java -jar target/java-blog-aggregator.jar --spring.config.location=file:prod.properties --logging.config=file:logback-prod.xml

sample prod.properties contents:

spring.profiles.active=prod
server.port=8081
spring.datasource.url=jdbc:postgresql://localhost:5432/DB_NAME
spring.datasource.username=USERNAME
spring.datasource.password=PASSWORD
spring.datasource.driverClassName=org.postgresql.Driver

You can’t perform that action at this time.