Odoo Ecommerce Setup - dealwallet1/tsssinfotech_docs GitHub Wiki

pip install wheel setuptools pip install psycopg2-binary lxml babel pytz pillow werkzeug

Doc for setting up the odoo server in our local

Next clone :

git clone https://github.com/odoo/odoo.git --branch 18.0 C:\odoo18

Or

git clone https://github.com/odoo/odoo.git

cd odoo

python -m venv myenv(This creates a new folder odoo-venv/ inside the Odoo project.)

Python == version=3.10

myenv\Scripts\activate

pip install -r requirements.txt

pip install wheel pip install psycopg2-binary pip install -r requirements.txt

Setup postgreSQL

psql -U postgres Create an Odoo User

CREATE USER odoo WITH SUPERUSER PASSWORD 'odoo';

Create an Odoo Database

CREATE DATABASE odoo_db OWNER odoo;

Create a postgres user with a password using the pg admin gui: Open pgAdmin. Double-click the server to create a connection. Select Object ‣ Create ‣ Login/Group Role. Enter the username in the Role Name field (e.g., odoo). Open the Definition tab, enter a password (e.g., odoo), and click Save. Open the Privileges tab and switch Can login? to Yes and Create database? to Yes.

Create

an Odoo Configuration File Create a New File in VS Code Inside the Odoo folder, click New File.

Name it odoo.conf.

Add the Following Configuration Paste this into odoo.conl[options] admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo db_name=oddo_db addons_path = addons

The command to run the Odoo server is

python odoo-bin --config=odoo.conf

Initial run command:-

python odoo-bin --config=odoo.conf --init base

http://localhost:8069/

Log in using: Email: admin

Password: admin

Doc for the Real Estate module setup

Clone the Odoo project from the github

https://github.com/dealwallet1/odoo.git

And add this file path in the main Odoo addons file as shown below in the odoo.config file Add the Following Configuration Paste this into odoo.conl[options] admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo db_name=oddo_db addons_path = addons, D:\odoo[where odoo repository is cloned in our local system]

Then it should be like addons,C:\Users\sneha\Work\odoo2

addons_path = addons,C:\Users\sneha\Work\odoo2

After opening localhost install the ecommerce and livechat so that we will install them.

Activating Livechat Module in odoo

In the apps page, search for the ‘im_livechat’ module and activate it.

After activating the livechat module, go to apps menu icon and click on it.

After clicking on livechat option in apps menu icon, it will redirect it into livechat application.

Adding module :

Custom module for chatbot :

click live chat go to the link and sign up under the livechat configuration tab we will get the chatbots option then create new chat bot with required options like question, email phone number and test it.

https://www.odoo.com/documentation/18.0/applications/websites/livechat/chatbots.html followed this doc for customizing the module or chatbot