Skip to content
Snippets Groups Projects
Commit a8a2629c authored by Kurbanov, Ruben's avatar Kurbanov, Ruben
Browse files

make it better

parent 2cfd238b
No related branches found
No related tags found
No related merge requests found
web: java -jar build/libs/mygs-0.0.1-SNAPSHOT-plain.jar
\ No newline at end of file
mygs @ 6aeed359
Subproject commit 6aeed359fb936b13f701bf2bccdaf77814d60ea1
......@@ -8,7 +8,7 @@ import org.springframework.stereotype.Service
@Service
class MailService(val emailSender: JavaMailSender) {
// fun send(to: String, subject: String, text: String) {
fun send(to: String, subject: String, text: String) {
// emailSender.send(
// SimpleMailMessage().apply {
// setFrom("wayplanner1@seznam.cz")
......@@ -17,5 +17,5 @@ class MailService(val emailSender: JavaMailSender) {
// setText(text)
// }
// )
// }
}
}
\ No newline at end of file
server.port=8091
#server.port=8091
server.port=${PORT:8091}
#spring.datasource.url=${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:8090/mygsdb}
#spring.datasource.username=root
#spring.datasource.password=root
spring.datasource.url=${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:8090/mygsdb}
spring.datasource.username=root
spring.datasource.password=root
#spring.datasource.url=${SPRING_DATASOURCE_URL:jdbc:postgresql:ec2-99-80-190-165.eu-west-1.compute.amazonaws.com/5432/d2o6u2f4508a5v}
#spring.datasource.username=ldccuyrmzabbsg
#spring.datasource.password=0aa9d1f37b02cc79907cfefac0a605a158778b8688f8d0c6c29f2bd2ccc05077
spring.datasource.url=jdbc:postgresql://ec2-99-80-190-165.eu-west-1.compute.amazonaws.com:5432/d2o6u2f4508a5v
spring.datasource.username=ldccuyrmzabbsg
spring.datasource.password=0aa9d1f37b02cc79907cfefac0a605a158778b8688f8d0c6c29f2bd2ccc05077
spring.datasource.driver-class-name=org.postgresql.Driver
......@@ -15,11 +15,12 @@ spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL10Dialect
# Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL92Dialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto=create-drop
spring.h2.console.enabled=true
spring.jpa.show-sql= true
assm.app.jwtSecret=jwtAssmSecretKey
assm.app.jwtExpiration=86400
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment