From eb6a04f3cb7f5ca460021ad0df12b02fa35d5236 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sat, 26 Sep 2020 01:41:45 -0400 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 3779ad8..1edc1d7 100644 --- a/README.md +++ b/README.md @@ -55,3 +55,17 @@ go to http://localhost:8080/ to view local app (note this uses your local postgr 1. run `git push heroku master` 1. run `heroku open` to see app (note this uses your heroku postgres database, which will have different data than your local db) + +## Rerunning local after initial set up + +1. Open PostgresApp and start the db + +In terminal: + +1. Go to repo root dir +1. Run `export JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/springdemo` again +1. Run `./mvnw spring-boot:run` + +In Browser + +1. go to http://localhost:8080/