Skip to content

Commit

Permalink
Added Heroku button
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuskrah committed Nov 28, 2017
1 parent 60621f4 commit 9006dab
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[![Build Status](https://travis-ci.org/juliuskrah/quartz-manager.svg?branch=v2.x)](https://travis-ci.org/juliuskrah/quartz-manager)

# Quick Start
Click here
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
# Quartz Manager
Dynanic Job Scheduling with Quartz and Spring.
To understand what is happening in this project read the blog post at:
Expand Down
30 changes: 30 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "Quartz Manager",
"description": "Quartz manager REST service",
"repository": "https://github.com/juliuskrah/quartz-manager",
"logo": "https://i.imgur.com/VAC3yUE.jpg",
"success_url": "/api/v1.0/jobs",
"keywords": [
"REST",
"Spring-Boot",
"Liquibase",
"Quartz"
],
"env": {
"MAIL_USERNAME": {
"description": "SMTP Username. e.g. '[email protected]'."
},
"MAIL_PASSWORD": {
"description": "SMTP password."
},
"MAIL_HOST": {
"description": "SMTP Host. e.g. 'smtp.gmail.com'."
},
"MAIL_PORT": {
"description": "SMTP port.",
"value": "587"
}
}

}

10 changes: 5 additions & 5 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ spring:
serialization:
write-dates-as-timestamps: false
mail:
host: smtp.gmail.com
port: 587
test-connection: false
username: ${gmail.username}
password: ${gmail.password}
host: ${MAIL_HOST}
port: ${MAIL_PORT}
test-connection: true
username: ${MAIL_USERNAME}
password: ${MAIL_PASSWORD}
properties:
mail.smtp.starttls.enable: true
jpa:
Expand Down

0 comments on commit 9006dab

Please sign in to comment.