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 restart" 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 install nodejs
* NPM
>>sudo apt-get install npm
*Postgresql(Already installed)
You can install pgadmin if required
create a postgres user named like your login:
sudo su - postgres -c "createuser -s $USER"
*PIP
>>sudo apt-get install python-pip
*Less
>>sudo npm install -g less
After downloading Odoo-10.0
-------------------------------------
*Goto downloaded path in terminal and type
>>sudo pip install -r requirements.txt
This will install all python packages required.
*Run odoo
>>python odoo-bin -c od-config -s//for first run only
Above command will create a config file in your folder. If you are getting a error like
"Address already exist" change "xmlrpc_port" to some other in od-config file and save.
>>python odoo-bin -c od-config
To add a custom module, create the module and add path in od-config file.
addons_path: = /media/pranav/odoo/odoo/addons,/media/pranav/odoo/addons,/media/pranav/<addons_path>
PsP☺
======================================================
>>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 restart" 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 install nodejs
* NPM
>>sudo apt-get install npm
*Postgresql(Already installed)
You can install pgadmin if required
create a postgres user named like your login:
sudo su - postgres -c "createuser -s $USER"
*PIP
>>sudo apt-get install python-pip
*Less
>>sudo npm install -g less
After downloading Odoo-10.0
-------------------------------------
*Goto downloaded path in terminal and type
>>sudo pip install -r requirements.txt
This will install all python packages required.
*Run odoo
>>python odoo-bin -c od-config -s//for first run only
Above command will create a config file in your folder. If you are getting a error like
"Address already exist" change "xmlrpc_port" to some other in od-config file and save.
>>python odoo-bin -c od-config
To add a custom module, create the module and add path in od-config file.
addons_path: = /media/pranav/odoo/odoo/addons,/media/pranav/odoo/addons,/media/pranav/<addons_path>
PsP☺
Comments
Post a Comment