Hello guys, could anyone help me with to properly configure bundle of Docker + Odoo + VSCode or Pycharm! I`m not getting it. Version odoo 10.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Here is a general outline of the steps you can follow to set up a Docker container with Odoo 10, as well as how to connect to the container using either Visual Studio Code (VSCode) or PyCharm:
- Install Docker on your machine:
- If you are using Windows or Mac, you can download and install Docker from the official website (https://www.docker.com/).
- If you are using Linux, you can install Docker using your distribution's package manager (e.g., apt for Ubuntu or yum for CentOS).
- Pull the Odoo 10 Docker image from the Docker Hub:
Copy codedocker pull odoo:10.0
This will download the Odoo 10 image to your machine, which you can use to create a Docker container.
- Run the Odoo container:
Copy codedocker run -p 8069:8069 --name odoo10 -t odoo:10.0
This will start the Odoo container and expose the Odoo server on port 8069 on your local machine. The --name flag allows you to specify a name for the container (in this case, "odoo10"), which you can use to refer to the container in other Docker commands.
- Connect to the Odoo container using VSCode or PyCharm:
To connect to the container using VSCode, you will need to install the "Remote - Containers" extension (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). Once the extension is installed, you can open the Command Palette (Ctrl + Shift + P) and select "Remote-Containers: Open Folder in Container..." to connect to the container.
To connect to the container using PyCharm, you will need to install the "Docker" plugin (https://www.jetbrains.com/help/pycharm/docker.html). Once the plugin is installed, you can go to "Preferences > Tools > Docker" and add a new Docker connection. Then, create a new project and select the Docker connection that you just created as the project interpreter.
I hope this information is helpful as you set up your Docker + Odoo + VSCode or PyCharm environment. If you have any further questions or need additional guidance, please don't hesitate to ask.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
janv. 20
|
4699 | ||
|
1
oct. 19
|
4916 | ||
|
1
sept. 19
|
3930 | ||
|
2
sept. 19
|
3931 | ||
|
2
janv. 19
|
9178 |
Is it way to use docker compose and remote debugger ? I suppose that I need to run debug server too, but I dont know why an how