From 5d90ad95c5f74ccc82c5f5e216968ee7efc1bf93 Mon Sep 17 00:00:00 2001 From: MushuLeDragon <22367990+MushuLeDragon@users.noreply.github.com> Date: Fri, 5 Nov 2021 12:00:09 +0100 Subject: [PATCH] Update readme + add link to the article --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index dd18ae2..0a4b597 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ # react-nodejs-docker-compose Example project on how to develop project on Docker Compose + +See the tutorial [here](https://medium.com/bb-tutorials-and-thoughts/react-local-development-with-docker-compose-5a247710f997) + +## Run locally + +```shell +// install server side dependencies and start +cd api +npm install +npm run dev +// install react dependencies and start +cd my-app +npm install +npm start +``` + +## Run with Docker-compose + +```bash +docker compose up -d +```