Giter Site home page Giter Site logo

ps-first-spring-boot-app's Introduction

Pluralsight Spring Boot Application Resources

Author: Dan Bunker

ps-first-spring-boot-app's People

Contributors

dlbunker avatar erfan1982 avatar francoj22 avatar kperath avatar luisenricke avatar thanhhaa avatar utkaln avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps-first-spring-boot-app's Issues

Readme needs a note about needing to copy *.sql files to local

Think it might be good to add a note that the *.sql file first needs to be copied into local machine before executing the docker cp command :)...i initially just ran the docker cp like it was mentioned in the readme and it did not show any error . But then when i went to pgadmin4 and viewed the database, i did not find any tables or data.

Then cloned your repo to local and executed this below command and then it worked (i have docker for windows).

docker cp ./ps-first-spring-boot-app/database/postgresql/create_tables.sql postgres-demo:/create_tables.sql

docker cp ./ps-first-spring-boot-app/database/postgresql/insert_data.sql postgres-demo:/insert_data.sql

Readme - Application Database Setup

I found that I had to use the following commands to setup the database after starting the docker container on my windows system:
docker exec -it containerid /bin/bash
createdb -U postgres conference_app
psql -U postgres -d conference_app -f create_tables.sql
psql -U postgres -d conference_app -f insert_data.sql

Readme - Docker create command

Suggest to change command line:

docker create --name postgres-demo -e POSTGRES_PASSWORD=Welcome -p 5432:5432 postgres:11.5-alpine

into:

docker create --name postgres-demo -e POSTGRES_PASSWORD=Welcome -p 5432 postgres:11.5-alpine

If you run the docker create command with 5432:5432 and then type

docker start postgres-demo

will give the following error message on Linux Mint 19.1:

Error response from daemon: driver failed programming external connectivity on endpoint postgres-demo (91725e72a055c90304ae19f52e5b78cbdbb4a979c341863e19e35045aa938452): Error starting userland proxy: listen tcp 0.0.0.0:5432: bind: address already in use
Error: failed to start containers: postgres-demo

Postgres Course Setup Steps are Unclear

Hi, I am trying to follow along with your pluralsight course https://app.pluralsight.com/library/courses/creating-first-spring-boot-application. I am getting stuck on setting up the postgres db.

For example, creating the the image for the postgres db and starting it stopping it is clear but what do I do with the connection info, where is that used? also the commands are not in order of how someone would execute them to get the db set up and running for the course.

Also under "Application Data Setup" - where are those commands supposed to be executed? inside the postgres cli? outside in a terminal or a shell?

You also just gloss over this big and important step in your pluralsight course even though this course is listed as beginner on pluralsight. In your course videos you do not go over how to install and setup docker or a local postgres instance or how to create and install data in tables as well. I know you might say the focus of this course is not to know docker or postgres since we are talking about spring boot but it seems like a big oversight since use those two technologies to set up your spring boot application.

Would like some clarification of these steps for myself and for future viewers of your course.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.