From c828de60b9884bd83b949311870814f5ca4cc728 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sat, 26 Sep 2020 09:29:32 -0400 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb5441d..e183fef 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 1. open your postgres app and start the db server 1. in the postgres app, double click one of the existing databases to enter `psql` -1. once inside `psql`, run `CREATE DATABASE springdemo;` +1. once inside `psql`, run `CREATE DATABASE springreactapp;` ### in your browser @@ -23,7 +23,7 @@ Set up an environment variable so your local spring app will use your local postgres database: ``` -export JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/springdemo +export JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/springreactapp ``` Now start spring: @@ -63,7 +63,7 @@ Open Postgres app 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 `export JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/springreactapp` again 1. Run `./mvnw spring-boot:run` In Browser go to http://localhost:8080/