Skip to content

Odoo is open source suite of business management software tools.

License

Notifications You must be signed in to change notification settings

prashant-mandal/odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

What is Odoo?

Odoo is a suite of business management software tools including, for example, CRM, e-commerce, billing, accounting, manufacturing, warehouse, project management, and inventory management.

It is open-source, and is customizable. Github link

Odoo

How to setup odoo on your local system?

With these few easy steps, you can easily run you odoo instance using docker.
Here, I will guide you to setup odoo version 16.0 . However you can install any version as the steps are similer.

  • Step 1

    • You need to install docker on your local machine.
    • Once installed, go to the terminal and pull the image for v16.0
    docker pull prashant7/odoo:odoo16
    

    For other versions of odoo, you can pull the images from my docker hub.

    • Now, that image is pulled. You need to run the container. For that, first create a new folder in your local machine and execute the following command. you can change the "/path/my_local_folder" with path of your folder.
    docker run -it -p 8016:8069 -v "/path/my_local_folder":"mnt/addons" prashant7/odoo:odoo16 bin/bash
    
  • Step 2

    • Your container is now up and running. The commands executed here will be limited to the container itself.
      Start the postgres server
    service postgresql start
    
    • Start the odoo instance
    /opt/odoo16/odoo/odoo-bin -c /etc/odoo16.conf --logfile=/
    
  • Step 3

    • Go to your browser and enter localhost:8016
      syntax: http://<your_domain_or_IP_address>:port

      Your Setup is complete!

What to-do next?

You can now see a login screen, enter the following credentials:
           Email:       admin
     Password:       admin

Restarting the odoo instance

If you happen to close the conatainer or your system. The next time you want to run the odoo instance, you don't have to go through the hassle of setting up again.

Simply follow these steps:

  • Start the docker container
    • Open the terminal, run the following command
    docker ps -a
    
    • copy the container name or container id
    • Start the container
    docker start <container_name 0r container_id>
    
    • Execute the container
    docker exec -it <container_name 0r container_id> bin/bash
    
  • Follow Step 2 and Step 3 mentioned previously.

Releases

No releases published

Packages

No packages published