Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3416 Представления

Hi All,

I would like to know what is the best practise and Tools for Odoo Development. Currently we use Sublime, Pycharm, Eclipse for Development. I came across Docker but i would like to know whether Docker can be used for Successful Development and easier way to do? 

Аватар
Отменить
Автор Лучший ответ

Hi Tony,

Thanks for the answer. between is Docker can be used for Development other than Deployment . How efficient and faster will be when we use Docker for Development? when using IDE for Development and it will very simple and easier to manage, update, etc... but Docker i have no clue about it. 

Аватар
Отменить
Лучший ответ

Hi, there,

what you said involves 2 questions:

1. how do you choose the IDE?

I think Any IDE is ok, depending on which is familiar to you. vs code is another option too.

2. Can I use docker to deploy the odoo system?

absolutely, the Docker version is offered by the official and you can download the nightly docker file and build it to run the env.

BTW,

Considering your requirement, I think the vs code is more suitable for you because this IDC has a lot of plugins and docker is included.

more details the attached.

I hope it is useful for you.

Best wishes.

--------------------------------------

### 1.Install git and docker(CentOS)
yum install git
yum install docker
systemctl restart docker

### 2.Create odoo and postgres software directory
mkdir -p /root/odoo-dev/odoo15

### 3.Get postgres latest version and build the image
cd /root/odoo-dev/odoo15
git clone https://github.com/docker-library/postgres.git
cd /root/odoo-dev/odoo15/postgres/14/bullseye
docker build -t postgres:14 .

### 4.Get odoo latest version and build the image
cd /root/odoo-dev/odoo15
git clone https://github.com/odoo/docker.git
cd /root/odoo-dev/odoo15/docker/15.0
docker build -t odoo15 .

### 5.Run the postgres server and expose the dblink db to be connected
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:14

### 6.Run the Odoo server with the dblink db and expose the network port to the host
docker run -p 8079:8069 --name odoo --link db:db -t odoo15:latest

### 7.Open the browser to initial the database.
http://xxx.xxx.xxx.xxx:8079/web




Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
авг. 22
9055
1
дек. 20
13543
1
авг. 25
169
4
июл. 25
1523
1
июл. 25
836