Last updated
Was this helpful?
Last updated
Was this helpful?
The guide provides steps to install the OpenG2P package on a laptop/desktop running on Linux system. Developers can run the entire OpenG2P package on their machines.
Below are the prerequisites to install the OpenG2P package on a laptop/desktop.
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 report engine converts Qweb template reports to HTML format 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.
Create a new Python virtual environment for Odoo using Python 3.11
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 .
For the Social Registry to function properly, your add-ons should include the packages listed below.
Installation of Social Registry on developer machine
Operating System/Server
Linux System
Language
Python3
Repository
GitHub
Database
PostgreSQL
Platform