From b680d7a0cd2adecef71dc778bde31b48286bca3e Mon Sep 17 00:00:00 2001 From: Shubham Upreti Date: Thu, 20 Aug 2020 20:25:38 +0530 Subject: [PATCH 1/2] Docs for installation using docker changed --- docs/installation/docker.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/installation/docker.md b/docs/installation/docker.md index 54f882b7e52..f9050e8f716 100644 --- a/docs/installation/docker.md +++ b/docs/installation/docker.md @@ -6,11 +6,16 @@ You will need the following things properly installed on your computer. * **[Git](https://git-scm.com/)** * **[Docker CE](https://docs.docker.com/install/)** +* **[docker-compose](https://docs.docker.com/compose/install/)** ## Steps * `git clone ` this repository * `cd open-event-frontend` -* `docker build . -t opev-frontend` -* `docker run -d --name opev-frontend-container -p 4200:4000 opev-frontend` -* Visit your app at [http://localhost:4200](http://localhost:4200). +* `cp .env.example .env` +* `docker-compose up --build -d` + +* Visit your app at [http://localhost:4200](http://localhost:4200) + +## Version Information +* These steps were tested successfully on _Pop!OS 20.04(LTS)_ with **Docker version 19.03.12** and **docker-compose version 1.26.2** From 0690beb2be32f04870bbf89af4209423803f399d Mon Sep 17 00:00:00 2001 From: Shubham Upreti Date: Sat, 22 Aug 2020 17:48:54 +0530 Subject: [PATCH 2/2] PR review implemented --- docs/installation/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/docker.md b/docs/installation/docker.md index f9050e8f716..0714be9f987 100644 --- a/docs/installation/docker.md +++ b/docs/installation/docker.md @@ -13,7 +13,7 @@ You will need the following things properly installed on your computer. * `cd open-event-frontend` * `cp .env.example .env` -* `docker-compose up --build -d` +* `docker-compose up -d` * Visit your app at [http://localhost:4200](http://localhost:4200)