Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kasim1011/odoo-11.0-windows-installation
Install odoo-11.0 from source on Windows
https://github.com/kasim1011/odoo-11.0-windows-installation
git how-to installation nodejs npm odoo odoo-11 pgadmin4 postgresql python3 source tutorial windows windows-10 wkhtmltopdf
Last synced: 3 months ago
JSON representation
Install odoo-11.0 from source on Windows
- Host: GitHub
- URL: https://github.com/kasim1011/odoo-11.0-windows-installation
- Owner: kasim1011
- Created: 2017-10-07T17:23:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T07:09:17.000Z (about 7 years ago)
- Last Synced: 2024-04-10T17:44:58.726Z (7 months ago)
- Topics: git, how-to, installation, nodejs, npm, odoo, odoo-11, pgadmin4, postgresql, python3, source, tutorial, windows, windows-10, wkhtmltopdf
- Homepage:
- Size: 8.07 MB
- Stars: 35
- Watchers: 12
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - kasim1011/odoo-11.0-windows-installation - Install odoo-11.0 from source on Windows (Others)
README
# Odoo 11.0 Windows Installation
Install odoo-11.0 from source on WindowsIt is recommended to have 64 bit version of operating system installed on your system.
It is recommended to install 64 bit version of all software packages mentioned in installation process.### Installation
Download and install [Git for Windows](https://git-scm.com/download/win).
Download and install [Node.js LTS](https://nodejs.org/en/download/).
Launch `Command Prompt` as Administrator.
* Install `Less.js` by `> npm install -g less less-plugin-clean-css`Download and install [PostgreSQL](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads).
add PostgreSQL's `bin` directory (default: `C:\Program Files\PostgreSQL\x.x\bin`) to your `PATH`.
create a `postgres` user with a password using the `PgAdmin` GUI:
* open `PgAdmin4`,
* expand `server` node to create a connection,
* expand `PostgreSQL` node,
* select **Object-> Create -> Login/Group Role**,
* enter the username in the `Role Name` field (e.g. odoo),
* open the `Definition` tab and enter the password (e.g. odoo),
* open the `Privileges` tab and give `login` and `create database` rights,
* click `save`.Download and install [`Microsoft Visual C++ 2015 Redistributable`](https://www.microsoft.com/en-us/download/details.aspx?id=52685).
Download and install Python3 `version 3.6`.
* goto `Python3` installation directory (default: `C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX`.
* rename `python.exe` to `python3.exe` and `pythonw.exe` to `pythonw3.exe`.
* add `Python3` installation directory (default: `C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX`) to your `PATH`.Some of `odoo` dependencies are `non-pure Python packages` which requires `C/C++` compilation during their installation process. you can install those dependencies using one of the following approaches.
1. Download and install already compiled dependencies in `Wheel (.whl)` format targeting your system configuration.
2. Download and install `C/C++` compiler than install those dependencies from `source`.For installing dependencies from `Wheel (.whl)`, launch `Command Prompt` as Administrator.
* Install `pypiwin32` by `> python3 -m pip install pypiwin32`
* Install [`Pillow`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow) by `> python3 -m pip install Pillow-3.4.2-cp36-cp36m-win_amd64.whl`
* Install [`gevent`](https://pypi.python.org/pypi/gevent) by `> python3 -m pip install gevent-1.2.2-cp36-cp36m-win_amd64.whl`
* Install [`lxml`](https://pypi.python.org/pypi/lxml) by `> python3 -m pip install lxml-3.8.0-cp36-cp36m-win_amd64.whl`
* Install [`psutil`](https://pypi.python.org/pypi/psutil) by `> python3 -m pip install psutil-5.3.1-cp36-cp36m-win_amd64.whl`
* Install [`psycopg2`](https://pypi.python.org/pypi/psycopg2) by `> python3 -m pip install psycopg2-2.7.3-cp36-cp36m-win_amd64.whl`
* Install [`pyldap`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyldap) by `> python3 -m pip install pyldap-2.4.37-cp36-cp36m-win_amd64.whl`
* Install [`reportlab`](https://pypi.python.org/pypi/reportlab) by `> python3 -m pip install reportlab-3.4.0-cp36-cp36m-win_amd64.whl`If you're having `32 bit Windows architecture` or other `Python` versions (e.g. `3.4`, `3.5`) installed on your system. you can download `non-pure Python package Wheels (.whl)` targeting your system configurations from [`PyPI`](https://pypi.python.org/pypi) or [`Laboratory for Fluorescence Dynamics`](http://www.lfd.uci.edu/~gohlke/pythonlibs/). If you're having `Python 3.4` installed on system then you will require [`Microsoft Visual C++ 2010 Redistributable`](http://www.microsoft.com/download/en/details.aspx?id=26999) instead of `Microsoft Visual C++ 2015 Redistributable`. for more information visit [`WindowsCompilers`](https://wiki.python.org/moin/WindowsCompilers) article on `Python Wiki`.
For installing dependencies from `source`, download [`Visual C++ 2015 Build Tools`](http://landinghub.visualstudio.com/visual-cpp-build-tools).
* run the installer,
* select `custom` mode for installation,
* uncheck all optional features (e.g. `Windows 8.1 SDK`, `Windows 10 SDK`, `ATL/MFC SDK`, `.NET Framework SDK` etc.)
* click `Install`.After `Visual C++ 2015 Build Tools` installation process completes, launch `Command Prompt` as Administrator
* Install `pypiwin32` by `> python3 -m pip install pypiwin32`
* Install `Pillow` by `> python3 -m pip install pillow`
* Install `gevent` by `> python3 -m pip install gevent`
* Install `lxml` by `> python3 -m pip install lxml`
* Install `psutil` by `> python3 -m pip install psutil`
* Install `psycopg2` by `> python3 -m pip install psycopg2`
* Install `pyldap` by `> python3 -m pip install pyldap`
* Install `reportlab` by `> python3 -m pip install reportlab`If you're having `Python 3.4` installed on system then you will require [`Microsoft Windows SDK for Windows 7 and .NET Framework 4`](https://www.microsoft.com/en-us/download/details.aspx?id=8279) instead of `Visual C++ 2015 Build Tools`. for more information visit [`WindowsCompilers`](https://wiki.python.org/moin/WindowsCompilers) article on `Python Wiki`.
Install remaining `pure Python packages` from [`requirements.txt`](https://github.com/kasim1011/odoo-11.0-windows-installation/raw/master/requirements.txt) using
* `$ python3 -m pip install -r requirements.txt`
* `$ python3 -m pip install -U werkzeug`Download and install [wkhtmltopdf](https://wkhtmltopdf.org/downloads.html).
Add wkhtmltopdf's `bin` directory (default: `C:\Program Files\wkhtmltopdf\bin`) to your `PATH`.
Launch `Command Prompt`.
Switch to (`cd`) your desired `odoo` installation directory
clone `odoo` repository by `git clone https://github.com/odoo/odoo.git -b 11.0`Switch to `odoo` installation directory and run `odoo` using
`$ python3 odoo-bin -w odoo -r odoo --addons-path=addons --log-level=debug_rpc`