Odoo Installation - odoo-ps/pshk-process GitHub Wiki

Installation

Virtual Environment

Before starting with installation, we want to isolate the environment when running some programs (because we have a few). Different programs will have different dependencies and if we try to combine all into one, there will be dependency problem causing issues when running the program.

pip3 install virtualenv # install venv
python3 -m venv <env_name> # create virtual env
source <env_name>/bin/activate # activate virtual env
deactivate # deactivate virtual env

Organizing Directories

NOTE: this section is just the recommended setup for organizing your workspace, you're free to arrange it to your liking

/home/odoo
|__ Github/
	  |__ odoo/ # Odoo Community
	  |__ enterprise/  # Odoo Enterprise
	  |__ envs/  # Virtual environments

Github

Create a Github account specific for odoo with username: <trigram/quadgram>-odoo.

Github 2FA

In order to secure your Github login from multiple devices, it's recommended to use the 2 Factor Authentication.

  1. Install "Microsoft Authenticator" on your smart phone.
  2. On the bottom of the page you can find the button to enable it.
  3. Proceed with the steps instructed from your github
  4. Don't forget to save the github-recovery-codes.txt on a discrete folder locally on your computer.

Installing Odoo

Create your first virtual environment here!

Odoo repository is split into 2 parts, which are community and enterprise. Community contains the framework as the basic applications while enterprise contains the additional applications.

Since enterprise version is a private repository, you can ask JOK to add your github for private repository access.

You can refer to the installation here

Community
Enterprise

⚠️ **GitHub.com Fallback** ⚠️