Skip to main content

Posts

Showing posts from 2017

How to create odoo as a service

For the odoo installation steps please follow steps in my previous post. Assume i have saved my code in following path /home/pranav/my_code/odoo 1)Create “odoo-server.conf” file and copy and paste below content. [options] ; This is the password that allows database operations: admin_passwd = password db_host = localhost db_port = 5432 db_user = pranav db_password = postgres db_name = <db_name> dbfilter = <db_name> addons_path = /home/pranav/ my_code /odoo/odoo/addons,/home/pranav/ my_code /odoo/addons,/home/pranav/ my_code /custom_module logfile = /var/log/odoo/odoo-server.log xmlrpc = True xmlrpc_port=8088 2)Paste the file in "/etc" folder and change its permission and access mode chown <user_name>: -R /home/pranav/my_code/odoo chown <user_name>: /etc/odoo-server.conf chmod 640 /etc/odoo-server.conf 3)Create file "odoo-server" inside "/etc/init.d" folder with below content #!/bin/sh ### B...

INSTALL ODOO-10.0 Community version in debian based system(ubuntu)

INSTALL ODOO-10.0 Community version in debian based system(ubuntu) ====================================================== >>sudo wget -O - https://nightly.odoo.com/odoo.key | sudo apt-key add - Type the below code and paste "deb http://nightly.odoo.com/10.0/nightly/deb/ ./" >>sudo nano /etc/apt/sources.list.d/odoo.list >>sudo apt-get update && sudo apt-get install odoo Do you want to continue? [Y/n] (type y) Source code --------------- Now odoo is installed in your linux system. Use " sudo service odoo restar t" to restart odoo if you are changing the conf file settings. You will get the source code in git. "git clone https://github.com/odoo/odoo.git" to clone from git Note:Better to download the zip file from above link as cloning consumes lot of time. Odoo dependencies: ------------------------ * python 2.7(already available in linux) * NodeJS(already available)  To upgrade:  >>sudo apt-get ins...