How to install Odoo on Windows 10
Odoo is an all-in-one business management software that helps you manage your organization's resources effectively. In this tutorial, we will guide you on how to install Odoo on your Windows 10 computer.
Prerequisites
Before we begin, make sure you have the following software installed on your Windows 10 computer:
- Python 3.x (version 3.6 or later)
- PostgreSQL
Step 1: Download the Odoo installer
Go to the Odoo Download page (https://www.odoo.com/page/download) and download the latest stable version of Odoo. Choose the version that matches the Python version you have installed on your computer.
Step 2: Install Python dependencies
Odoo requires several Python dependencies that need to be installed. To do that, follow these steps:
- Open the Command Prompt as administrator
- Run the following command:
pip install -r C:\Users\username\Downloads\odoo-x.x.x\requirements.txt(replaceusernameandodoo-x.x.xwith your username and the name of the downloaded Odoo file)
Step 3: Install PostgreSQL
Odoo uses PostgreSQL as its database server. If you don't have PostgreSQL installed on your computer, follow these steps:
- Download PostgreSQL from the official website (https://www.postgresql.org/download/windows/)
- Run the installer file you downloaded and follow the instructions
Step 4: Create the Odoo database
After installing PostgreSQL, you need to create a database for Odoo. Follow these steps:
- Open pgAdmin (the PostgreSQL management tool)
- Click on "Servers" in the left sidebar and select the PostgreSQL server you just installed
- Right-click on "Databases" and choose "New Database"
- Enter a name for the database (e.g. "odoo") and click "Save"
Step 5: Configure Odoo
Now it's time to configure Odoo. Follow these steps:
- Open the folder where you downloaded Odoo and navigate to the "config" folder
- Open the file "odoo.conf" in a text editor
- Edit the following parameters:
db_host: set it to "localhost"db_port: set it to "5432" (the default PostgreSQL port)db_useranddb_password: enter the username and password you created for the PostgreSQL database in Step 4addons_path: set it to the full path of the "addons" folder included in the Odoo download (e.g.C:\Users\username\Downloads\odoo-x.x.x\addons)
- Save the changes to the file
Step 6: Start Odoo
To start Odoo, follow these steps:
- Open the Command Prompt as administrator
- Navigate to the folder where you downloaded Odoo
- Run the following command:
python odoo-bin -c C:\Users\username\Downloads\odoo-x.x.x\config\odoo.conf(replaceusernameandodoo-x.x.xwith your username and the name of the downloaded Odoo file)
Step 7: Access Odoo
Once Odoo is running, you can access it by opening a web browser and navigating to http://localhost:8069. You will be prompted to create a new database, so enter the name you gave to the PostgreSQL database in Step 4 and click "Create Database". You can then log in to Odoo using your email address and password.
Congratulations, you have successfully installed Odoo on your Windows 10 computer!