0% found this document useful (0 votes)
258 views6 pages

Setup Odoo Environment, Start Development

Install Python 3.5 or above, PostgreSQL, Node.js, wkhtmltopdf, and Pycharm. Download Odoo 12 and enterprise addons from the shared folder. Extract and configure Odoo by editing the odoo.conf file to set the database port, user, and password created in PostgreSQL. Install requirements, set the Python interpreter in Pycharm, and configure the run configuration to start Odoo on port 8069 using the odoo.conf file. Create a new database and start using Odoo tutorials.

Uploaded by

Nazeeh Rzeqat
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
258 views6 pages

Setup Odoo Environment, Start Development

Install Python 3.5 or above, PostgreSQL, Node.js, wkhtmltopdf, and Pycharm. Download Odoo 12 and enterprise addons from the shared folder. Extract and configure Odoo by editing the odoo.conf file to set the database port, user, and password created in PostgreSQL. Install requirements, set the Python interpreter in Pycharm, and configure the run configuration to start Odoo on port 8069 using the odoo.conf file. Create a new database and start using Odoo tutorials.

Uploaded by

Nazeeh Rzeqat
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

Setup Odoo Environment (Version 12):

1. Install Python 3.5 or above ( from share \\192.155.100.249\share\odoo_env\python-3.6.4)

Note: during Installation, please change the path to be in C in your computer; if you don’t change it
python will be installed in App Data which may cause a problem

2. Install PostgreSQL (\\192.155.100.249\share\odoo_env\postgresql-10.6-1-windows-x64)


Note: Through installation, will ask you to set a password for postgres user set it as “admin” for
example and remember it. Also remember the port (5432)
3- open PostgreSQL By Run PgAdmin

If you face Problem, “application server could not be contacted”, then solve it by :

 Install PgAdmin 4
 Then if you still face problem , then clearing out the C:\Users\%USERNAME
%\AppData\Roaming\pgAdmin
4- In PostgreSQL go to Login/group rules in order to create Odoo user with full privileges by follow steps
in following screenshots :
a-
b- Set Name as example “odoo”

c- Set Password as example “odoo”


d-

Please remember user and password because you will use it later on odoo.conf

3. Install Node.Js (\\192.155.100.249\share\odoo_env\node-v8.9.4-x64)


4. Install wkhtmltopdf (\\192.155.100.249\share\odoo_env\wkhtmltox-0.12.4_msvc2015-win64)
5. Install Pycharm (\\192.155.100.249\share\odoo_env\pycharm-community-2017.3.2)
6. Get Odoo 12 from share (\\192.155.100.249\share\odoo_env\odoo-12.0)
7. Get Odoo enterprise 12 from share (\\192.155.100.249\share\odoo_env\enterprise-12.0)
8. Extract Odoo 12, extract enterprise , then copy its content under folder addons in odoo

9. Navigate to debian in odoo folder and copy Odoo.conf to the Odoo main root
10. Open odoo folder in PyCharm

11. In the Odoo main root, open Odoo.conf and edit the following:
o db_port = set up as port appeared during PostgreSQL installation
o db_user = as you set in PostgreSQL ( it is the user that set in step 4 in screenshot b “odoo”)
o db_password = as you set in PostgreSQL ( it is the password that set in step 4 in screenshot c
“odoo”)
o addons_path= the addons folder path, and the custom addons path.
o bin_path=C:\Program Files\wkhtmltopdf\bin
o pg_path=C:\Program Files\PostgreSQL\10.6\bin
12. In Cmd , run command  npm install --global windows-build-tools; Note: this step doesn’t required if
you have visual studio
13. In Cmd , Navigate to python folder / Scripts , then run command pip install –r your-odoo-
path\requirements.txt

14. In Pycharm , set Interpreter as shown in following screenshots

a-

b-
c-

d-

e-

15. In Pycharm , Click on the configuration button (beside the run button) and choose edit configurations
as following screenshot:
o Then fill following Info :

a- Script should be your Odoo path\odoo-bin full path


b- Script parameter should be like: --config=odoo-path\odoo.conf
c- Choose Python interpreter that you set in previous steps

For more info look at following screenshot:

16. Run Odoo.


17. Open the browser http://localhost:8069/web/database/manager, and create new database, then you
can start playing with odoo by follow OpenAcademy tutorial
(https://www.odoo.com/documentation/12.0/howtos/backend.html).

You might also like