This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class App { | |
public static void main(String[] args) { | |
String string1 = "string1"; | |
String string2 = "string2"; | |
String checksum = DigestUtils | |
.sha1Hex(String.valueOf((string1.length() + DigestUtils.md5Hex(string2).length()))); | |
System.out.println("string1 = " + string1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku plugins:install heroku-cli-deploy | |
mvn clean package | |
heroku deploy:jar target/heroku-demo-0.0.1-SNAPSHOT.jar --app <APP-NAME> | |
heroku logs --tail --app <APP-NAME> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/database_name | |
JDBC_DATABASE_USERNAME=postgres | |
JDBC_DATABASE_PASSWORD=postgres |
OlderNewer