Update README.md

pull/1/head
Matt Huntington 5 years ago committed by GitHub
parent 863e4a87f5
commit c828de60b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@
1. open your postgres app and start the db server 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. 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 ### in your browser
@ -23,7 +23,7 @@
Set up an environment variable so your local spring app will use your local postgres database: 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: Now start spring:
@ -63,7 +63,7 @@ Open Postgres app and start the db
In terminal: In terminal:
1. Go to repo root dir 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` 1. Run `./mvnw spring-boot:run`
In Browser go to http://localhost:8080/ In Browser go to http://localhost:8080/

Loading…
Cancel
Save