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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
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.
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
1月 20
|
4310 | ||
|
1
10月 19
|
4547 | ||
|
1
9月 19
|
3609 | ||
|
2
9月 19
|
3601 | ||
|
2
1月 19
|
8771 |
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