Developer Install on Linux
Installation of PBMS on developer machine
Last updated
Was this helpful?
Installation of PBMS on developer machine
Last updated
Was this helpful?
Developers can run the entire OpenG2P package on their machines. The guide here provides steps to install OpenG2P on a laptop/desktop running on Linux.
A Linux server
Python3
Git
PostgreSQL
Log in to your Linux server using SSH and update the package list and upgrade the existing packages:
Odoo requires several dependencies to function correctly. Install them using the following commands:
It is recommended to create a separate system user to run Odoo for security purposes. Create the user with the following command:
Install PostgreSQL server and create a new database user for Odoo:
Odoo supports printing report files in PDF format. Wkhtmltopdf helps to generate reports in PDF format from HTML data format. Moreover, the Qweb template reports are converted to HTML format by the report engine and Wkhtmltopdf will produce reports in PDF format:
Clone the odoo15 repository from the official GitHub repository:
Cloning the odoo15 repository takes time because of the large file.
Make a new Odoo Python virtual environment:
Turn on the virtual environment:
Switch to the odoo15 directory and install the required Python libraries:
Edit the configuration file /opt/odoo/odoo15/debian/odoo.conf
and set the appropriate values for the following parameters:
Inside the customs addons directories, place the relevant project module and custom third-party modules.
Start the Odoo server using the following command:
Create a custom-addons
folder inside the odoo
folder to keep all the extra modules.
Install the required Python libraries for all the custom-addons:
Clone all the :
Add addons directory path to the odoo.conf file in addons_path parameter, mentioned in .