Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3478 Vues

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? 

Avatar
Ignorer
Auteur Meilleure réponse

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. 

Avatar
Ignorer
Meilleure réponse

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




Avatar
Ignorer
Publications associées Réponses Vues Activité
2
août 22
9093
1
déc. 20
13592
1
août 25
87
1
août 25
273
4
juil. 25
1618