How to Install Odoo 18 with Pycharm | Setup Odoo 18 Development Environment Using Pycharm in Ubuntu

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=aMDwueq9_sY



Duration: 0:00
858 views
12


How to Install Odoo 18 Development Environment Using Pycharm in Ubuntu 22.04

Step 1: Download and install the Pycharm IDE
PyCharm Community Edition Download

sudo apt-get update 
sudo apt-get upgrade
sudo snap install pycharm-community --classic

Step 2: Installing Python 3.12
To add the deadsnakes repository, use the following commands:

sudo add-apt-repository ppa:deadsnakes/ppa 
sudo apt-get update
You can verify the updated list of Python packages using the following command.

apt list | grep python3.12
You can install Python 3.12 by running the following command:

sudo apt-get install python3.12
To install the necessary packages for Python 3, you can use the following code:

sudo apt-get install python3.12-dev build-essential libjpeg-dev libpq-dev libjpeg8-dev libxml2-dev libssl-dev libffi-dev libmysqlclient-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev liblcms2-dev

Step 3: Install Web Dependencies
The next step involves installing the necessary web dependencies.

sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs/usr/bin/node 
sudo npm install -g less less-plugin-clean-css 
sudo apt-get install -y node-less

Step 4: Install Wkhtmltopdf
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb

Step 5: Install PostgreSQL
sudo apt install postgresql postgresql-client

Step 6: Configure a Database User Role for Odoo Databases
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo18
Next, grant superuser privileges to the specified user.

psql
ALTER USER odoo18 WITH SUPERUSER;
Finally, exit both psql and the Postgres user.

\q
exit

Step 7: Obtain Odoo 18 Source Code
sudo apt-get install git

git clone https://www.github.com/odoo/odoo --depth 1 --branch 18.0 --single-branch odoo18

Step 8: Open the Odoo Project in PyCharm
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12
sudo apt install python3.12-venv
python3.12 -m venv your_venv_name

🔗 Read Now about the blog - How to Setup Odoo 18 Development Environment Using Pycharm in Ubuntu 22.04: https://www.cybrosys.com/blog/how-to-setup-odoo-18-development-environment-using-pycharm-in-ubuntu-22-04

🔗 Download Odoo 18: https://github.com/odoo/odoo/tree/18.0

#Odoo18 #OdooDevelopment #PyCharmSetup #OdooInstallation #Ubuntu2204 #OdooERP #PythonDevelopment #OdooTips #TechTutorial #OdooBeginners #PyCharm #Ubuntu2204 #OdooDevelopment #WebDevelopment #Python #OpenSource #Programming #Tutorial #Guide

Connect With Us:
—————————————
➡ ️ Websitehttps://www.cybrosys.com/m/
➡ ️ Email: info@cybrosys.com
➡ ️ Twihttps://twitter.com/cybrosysosys  
➡ ️ Lihttps://www.linkedin.com/company/cybrosys/brosys  
➡ ️ https://www.facebook.com/cybrosystechnologiesnologies  
➡ ️ https://www.instagram.com/cybrosystech/brosystech  
https://pinterest.com/cybrosys/  / cybrosys  




Other Videos By Cybrosys Technologies


2024-10-08How to Translate Odoo 18 Website in Any Language with AI | Translation with AI in Odoo 18 Website
2024-10-07What is Bidirectional Replication (BDR) in Odoo | R&D Sneak Peek | BDR
2024-10-07Revamp in Odoo 18 Document | Odoo 18 New Features | Odoo 18 Release Date | Odoo 18 Document App
2024-10-07How to Configure Multiple Approvals for Leave Requests in Horilla HRMS | Free HR Software| Best HRMS
2024-10-07How to Publish Job Position on Third-Party Job Board in Odoo 18 Recruitment | Odoo 18 New Features
2024-10-06Drag & Drop Attachments for Importing in Odoo 18 | Odoo 18 New Features | Odoo 18 Release Date
2024-10-06What is a Docstring in Python | EP-46 Docstring in Python | How to Use Docstrings in Python | Python
2024-10-06How to Request Documents/Files From Employees in Horilla HRMS | Best Open Source HRMS Software
2024-10-04Revamp in Odoo 18 Debug | Odoo 18 New Features | Odoo 18 Release Date | Odoo 18 Debug Mode
2024-10-04What is Bi-Directional Replication (BDR) in Odoo | How BDR Can Revolutionize Your Odoo Deployments
2024-10-03How to Install Odoo 18 with Pycharm | Setup Odoo 18 Development Environment Using Pycharm in Ubuntu
2024-10-03How to Unblock Payment in Odoo 18 Accounting | Odoo 18 Accounting Tutorials | Odoo 18 New Features
2024-10-03Trend Lines in Odoo Chart in Odoo 18 | Odoo 18 New Features | Odoo 18 Release Date | Odoo 18 Chart
2024-10-02How to Add New Employee in Horilla HRMS | Create New Employee in HRMS Software | Free HR Software
2024-10-01What is Keyworded Variable Length Arguments | EP-45 Arbitrary Keyword Arguments | Python Tutorials
2024-10-01How to Import Employee Data to Horilla HRMS | Free HRMS Software | Free Employee Management Software
2024-10-01What are the Types of Charts in Odoo 18 Spreadsheet | Odoo 18 Chart Type in Spreadsheet | Odoo 18
2024-09-30How to Manage Rotating Work Shifts in a Company Using Horilla HRMS | Implement Rotating Work Shifts
2024-09-30How to Configure Flexible Working Schedule in Odoo 18 Employee | Flexible Working Hours in Odoo 18
2024-09-28How to Manage Post Dated Cheque PDC in Odoo 17 Accounting | Post Dated Cheque Management in Odoo 17
2024-09-28Filters in Odoo 18 Spreadsheets | Odoo 18 Spreadsheets | Odoo 18 New Features | Odoo 18 Release Date