From 22f69c292ffff8b716a027c55183227886483af9 Mon Sep 17 00:00:00 2001 From: Henrik Norlin Date: Wed, 15 May 2024 09:42:58 +0200 Subject: [PATCH 1/2] [IMP] README: Windows instructions --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 8ab5e53..0f55747 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,24 @@ This repo contains Dockerfile to build your own image for debugging Odoo. - You can build images for other Odoo versions using existing one as example. - Don't hesitate to share your updates and enhancements by opening a PR! +Windows users need to do these changes (tested with 14.0): + +``` +launch.json + "localRoot": "${HOME}/odoo", + +settings.json + "hostOdooRoot" : "${HOME}/odoo", + +tasks.json + "localPath": "C:/Users/YOUR_USERNAME/odoo" + + "customOptions": "--add-host=host.docker.internal:host-gateway", // without ' ' + + "dockerRun": { + "env": { + "POSTGRES_DB": "postgres" + }, +``` + **Copyright Cetmix OU 2022-now. Using this repo assumes you understand what you are doing. Use it on your own risk** From 4630105e0b8abb55fd61ceaf5600539e793a86c5 Mon Sep 17 00:00:00 2001 From: Henrik Norlin Date: Wed, 15 May 2024 09:46:37 +0200 Subject: [PATCH 2/2] [FIX] odoo-docker.conf: [options] --- 11.0/odoo-docker.conf | 2 +- 12.0/odoo-docker.conf | 2 +- 13.0/odoo-docker.conf | 2 +- 14.0/odoo-docker.conf | 2 +- 15.0/odoo-docker.conf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/11.0/odoo-docker.conf b/11.0/odoo-docker.conf index 44516e6..5920464 100644 --- a/11.0/odoo-docker.conf +++ b/11.0/odoo-docker.conf @@ -1,4 +1,4 @@ -[options]] +[options] # ******************************* # Cetmix Odoo Debug Cofiguration # NB: This is just a sample! diff --git a/12.0/odoo-docker.conf b/12.0/odoo-docker.conf index 3965211..39758af 100644 --- a/12.0/odoo-docker.conf +++ b/12.0/odoo-docker.conf @@ -1,4 +1,4 @@ -[options]] +[options] # ******************************* # Cetmix Odoo Debug Cofiguration # NB: This is just a sample! diff --git a/13.0/odoo-docker.conf b/13.0/odoo-docker.conf index 50f9a82..ecf1a2c 100644 --- a/13.0/odoo-docker.conf +++ b/13.0/odoo-docker.conf @@ -1,4 +1,4 @@ -[options]] +[options] # ******************************* # Cetmix Odoo Debug Cofiguration # NB: This is just a sample! diff --git a/14.0/odoo-docker.conf b/14.0/odoo-docker.conf index 6e8401b..a77941b 100644 --- a/14.0/odoo-docker.conf +++ b/14.0/odoo-docker.conf @@ -1,4 +1,4 @@ -[options]] +[options] # ******************************* # Cetmix Odoo Debug Cofiguration # NB: This is just a sample! diff --git a/15.0/odoo-docker.conf b/15.0/odoo-docker.conf index a22f131..03253ef 100644 --- a/15.0/odoo-docker.conf +++ b/15.0/odoo-docker.conf @@ -1,4 +1,4 @@ -[options]] +[options] # ******************************* # Cetmix Odoo Debug Cofiguration # NB: This is just a sample!