Background of this seriesOdoo is an open source software built on Python, targeting enterprise applications in the fields of CRM, ERP, etc. Its goal is to compete with large software providers such as SAP and Oracle, but it meets all business needs of enterprise management through just one platform. This series of articles focuses on Odoo version 14. From the perspectives of system installation, development environment configuration, code structure, major function upgrades, source code appreciation, and Anodoo's key extensions to Odoo, we will give you an advance introduction to this latest version, which will be released in 2020. OverviewThe installation of Odoo 14 is similar to the previous versions, which also includes installation files, source code, Docker and other forms. This article will install Odoo 14 on Ubuntu 18.04 through source code. Postgresql database preparationInstall the database on the PostgreSQL official website or through the apt command. https://www.postgresql.org/ https://www.postgresql.org/download/linux/ubuntu/ sudo apt update sudo apt install postgresql postgresql-contrib Since this is a development environment, use the current user and the createdb command of postgresql to add a database: Install from sourceSince Anodoo is a source code-level extension based on Odoo, this article will first demonstrate the source code installation mode. Download and prepare the Odoo 14 source files from http://nightly.odoo.com/, unzip the source files using tar or unzip command, and unzip them to ~/odoo14 directory. In this case, the directory is further renamed to ~/odoo14/odoo. Creating a Virtual EnvironmentSince there are multiple Odoo or Python environments in the development environment, it is recommended to create a Python virtual environment. Create a virtual environment by running python3 -m venv python3 in the ~/odoo14 directory and run source python3/bin/activate to start. Note that the command to exit the virtual environment after completion is deactivate Install DependenciesInstall all dependencies with the following command sudo apt install libpq-dev libldap2-dev libsasl2-dev libxslt1-devsudo apt install python3-setuptools python3-wheelsudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev python3-pypdf2pip3 install wheelpip3 install -r odoo/requirements.txtsudo apt install wkhtmltox_0.12.5-1.bionic_amd64.deb Create a configuration file Create the odoo.conf file in ~odoo14/ with the following content:
Start Odoo 14 Note that the virtual environment is started by running python3 odoo/odoo.py -c odoo.conf -i base in the ~odoo14/ directory. The -i base option is used to initialize the database when the system is started for the first time. The second startup does not need it. Preview of Odoo 14 featuresAfter starting Odoo 14 through the above, no Module is installed by default for the first time, and the startup speed is very fast. After the startup is complete, visit http://localhost:8070 and click directly to enter the system for the first time, and you will see the following interface. Conclusion From downloading source code, creating a Python virtual environment, installing dependencies, creating configuration files to starting up, with just a few simple steps, you can quickly install the most powerful open source CRM and ERP in history and give it a try. It is recommended that you try it as soon as possible. The above is the tutorial on how to install Odoo14 through source code on Ubuntu18.04 introduced by the editor. I hope it will be helpful to everyone! You may also be interested in:
|
<<: The MySQL version is lower than the one that does not support two timestamp type values.
>>: How to use Node.js to determine whether a png image has transparent pixels
Table of contents Preface Connection Management A...
The use of computed in vue3. Since vue3 is compat...
Table of contents 1. Primary key exists 2. No pri...
Table of contents 1. Easy to use 2. Using generic...
1: nginx server solution, modify the .conf config...
Download url-loader yarn add -D url-loader module...
The latest Perfect Aloe Vera Gel packaging box ha...
this keyword Which object calls the function, and...
Preface: The importance of database backup is sel...
Environmental Description: There is a running MyS...
1. Command Introduction The watch command execute...
I started using Linux for development and enterta...
In HTML and CSS, we want to set the color of a bu...
Table of contents DML statements 1. Insert record...
1. Mobile selection of form text input: In the te...