From 2d657515e5e3997e3e4e09858ff57da0417025b0 Mon Sep 17 00:00:00 2001 From: Wilker Gaudencio Date: Tue, 22 Feb 2022 15:17:29 -0300 Subject: [PATCH 1/2] Update README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 1cb64bd..c53749a 100755 --- a/README.md +++ b/README.md @@ -26,6 +26,32 @@ ### Requirements +**Windows:** + +Install [Docker](https://www.docker.com/products/docker-desktop) and [WSL Windows Ubuntu 20](https://www.microsoft.com/pt-br/p/ubuntu-2004/9n6svws3rx71?rtc=1&activetab=pivot:overviewtab) + +### Before start +Note that for Elasticsearch you need at least 262144 memory. + +To access: +``` +wsl -d docker-desktop +``` + +Once in your docker-desktop, do the following: +``` +echo "vm.max_map_count = 262144"> /etc/sysctl.d/999-docker-desktop-conf +``` +Followed by: +``` +sysctl -w vm.max_map_count=262144 +``` +You can then exit the docker-host by typing +``` +exit +``` + + **Linux:** Install [Docker](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) and [Docker-compose](https://docs.docker.com/compose/install/#install-compose). From 1f39c3cd7d2b2b5955575299765150046acb8892 Mon Sep 17 00:00:00 2001 From: Wilker Gaudencio Date: Tue, 22 Feb 2022 17:51:17 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c53749a..61515a8 100755 --- a/README.md +++ b/README.md @@ -51,6 +51,11 @@ You can then exit the docker-host by typing exit ``` +For permissions: +``` +Acces docker apache terminal and aply chmod 777 -R html/ +``` + **Linux:**