gradle-getting-started | Using resources for this example app counts towards | Platform As A Service library
kandi X-RAY | gradle-getting-started Summary
kandi X-RAY | gradle-getting-started Summary
A barebones Gradle app, which can easily be deployed to Heroku. This application support the Getting Started with Gradle on Heroku article - check it out.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gradle-getting-started
gradle-getting-started Key Features
gradle-getting-started Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-getting-started
QUESTION
i am trying to create a heroku app using gradle, java, springboot, postgres, and hikari.
i am following the documentation:
Getting Started with Gradle on Heroku
Connecting to Relational Databases on Heroku with Java
i am using, without modification, the example git repo from the first link above:
...ANSWER
Answered 2019-Apr-30 at 08:20after an insane day of troubleshooting, i got it to work. as near as i can tell, the commands gradlew build
and heroku local web
are only happy if the database user has a password.
by default when you install postgres on ubuntu you end up with a postgres account with the same name as your linux account, and with no password.
in my original attempts described in my OP above, i had some problems with the formatting of the values for environment variables DATABASE_URL
and JDBC_DATABASE_URL
. once i fixed that, i started getting the error The server requested password-based authentication, but no password was provided
, which i fixed by setting a password.
here are the steps that i followed:
1) set a password in postgres:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-getting-started
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page