Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 470 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 470 Bytes

docker-postgres-node-react

Steps to set up

  1. Connect to your server (I'm using Ubuntu)

  2. Install docker

  3. Install docker-compose

  4. Install npm

  5. Create the react project with -- npm install -g create-react-app@3

  6. Clone the repo into your project directory

  7. Change the paths if needed

  8. Run this command to create the persistent postgres volume -- docker volume create pgdata

When dependencies change, you will need to run docker-compose up --build