summaryrefslogtreecommitdiff
path: root/doc/setup
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-10-09 11:31:37 +0200
committerMartin Trigaux <mat@odoo.com>2017-10-11 11:38:36 +0200
commitf5b2a4b0f294b509171f559ba6a4b548da8cb728 (patch)
tree0229e7e3b2e1b6104a74aa496547587b4a18e4e8 /doc/setup
parente1104ac344cbc349a46b22339b13dfe9cbab8bcb (diff)
[FIX] doc: update to version 11
Use python 3.5 Refer to correct page of the doc Remove old bazar to git (was intended for the 8.0) Remove outdated setup_dev script: it was intended for odoo developers but if you are not able to make a git clone, you are going to have a bad time later.
Diffstat (limited to 'doc/setup')
-rw-r--r--doc/setup/deploy.rst7
-rw-r--r--doc/setup/enterprise.rst2
-rw-r--r--doc/setup/install.rst46
3 files changed, 31 insertions, 24 deletions
diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst
index ed1825298e2..0d7303a795a 100644
--- a/doc/setup/deploy.rst
+++ b/doc/setup/deploy.rst
@@ -493,7 +493,7 @@ It should be stored securely, and should be generated randomly e.g.
.. code-block:: console
- $ python -c 'import base64, os; print(base64.b64encode(os.urandom(24)))'
+ $ python3 -c 'import base64, os; print(base64.b64encode(os.urandom(24)))'
which will generate a 32 characters pseudorandom printable string.
@@ -505,9 +505,8 @@ distinction is made according to the browser version in order to be
up-to-date. Odoo is supported on the current browser version. The list
of the supported browsers by Odoo version is the following:
-- **Odoo 8:** IE9, Mozilla Firefox, Google Chrome, Safari, Microsoft Edge
- **Odoo 9:** IE11, Mozilla Firefox, Google Chrome, Safari, Microsoft Edge
-- **Odoo 10:** Mozilla Firefox, Google Chrome, Safari, Microsoft Edge
+- **Odoo 10+:** Mozilla Firefox, Google Chrome, Safari, Microsoft Edge
.. [#different-machines]
to have multiple Odoo installations use the same PostgreSQL database,
@@ -524,7 +523,7 @@ of the supported browsers by Odoo version is the following:
"self-signed" certificates are easier to deploy on a controlled
environment than over the internet.
-.. _regular expression: https://docs.python.org/2/library/re.html
+.. _regular expression: https://docs.python.org/3/library/re.html
.. _ARP spoofing: http://en.wikipedia.org/wiki/ARP_spoofing
.. _Nginx termination example:
http://nginx.com/resources/admin-guide/nginx-ssl-termination/
diff --git a/doc/setup/enterprise.rst b/doc/setup/enterprise.rst
index a613e0c8e39..76bbd24321e 100644
--- a/doc/setup/enterprise.rst
+++ b/doc/setup/enterprise.rst
@@ -45,7 +45,7 @@ On Linux, using an installer
.. code-block:: console
- $ python /usr/bin/odoo.py -d <database_name> -i web_enterprise --stop-after-init
+ $ python3 /usr/bin/odoo.py -d <database_name> -i web_enterprise --stop-after-init
* You should be able to connect to your Odoo Enterprise instance using your usual mean of identification.
You can then link your database with your Odoo Enterprise Subscription by entering the code you received
diff --git a/doc/setup/install.rst b/doc/setup/install.rst
index c476e4adabe..e2d261a105a 100644
--- a/doc/setup/install.rst
+++ b/doc/setup/install.rst
@@ -131,7 +131,7 @@ Configuration
'''''''''''''
The :ref:`configuration file <reference/cmdline/config>` can be found at
-:file:`{%PROGRAMFILES%}\\Odoo 10.0-{id}\\server\\odoo.conf`.
+:file:`{%PROGRAMFILES%}\\Odoo 11.0-{id}\\server\\odoo.conf`.
The configuration file can be edited to connect to a remote Postgresql, edit
file locations or set a dbfilter.
@@ -145,13 +145,13 @@ Deb
Community
'''''''''
-To install Odoo 10.0 Community on Debian-based distribution, execute the following
+To install Odoo 11.0 Community on Debian-based distribution, execute the following
commands as root:
.. code-block:: console
# wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
- # echo "deb http://nightly.odoo.com/10.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
+ # echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
# apt-get update && apt-get install odoo
You can then use the usual ``apt-get upgrade`` command to keep your installation up-to-date.
@@ -159,7 +159,7 @@ You can then use the usual ``apt-get upgrade`` command to keep your installation
Enterprise
''''''''''
-For Odoo 10.0 Enterprise, get the package from the Download_ page. You can then
+For Odoo 11.0 Enterprise, get the package from the Download_ page. You can then
use ``gdebi``:
.. code-block:: console
@@ -207,6 +207,11 @@ RPM
.. warning::
+ As of 2017, Fedora 26 is recommended. CentOS does not have the minimum
+ Python requirements (3.5) for Odoo 11.0.
+
+.. warning::
+
with RHEL-based distributions (RHEL, CentOS, Scientific Linux), EPEL_ must
be added to the distribution's repositories for all of Odoo's
dependencies to be available. For CentOS:
@@ -220,7 +225,7 @@ RPM
Community
'''''''''
-Execute the following commands to install Odoo 10.0 Community on your server:
+Execute the following commands to install Odoo 11.0 Community on your server:
.. code-block:: console
@@ -229,7 +234,7 @@ Execute the following commands to install Odoo 10.0 Community on your server:
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo yum install yum-utils
- $ sudo yum-config-manager --add-repo=https://nightly.odoo.com/10.0/nightly/rpm/odoo.repo
+ $ sudo yum-config-manager --add-repo=https://nightly.odoo.com/11.0/nightly/rpm/odoo.repo
$ sudo yum install -y odoo
$ sudo systemctl enable odoo
$ sudo systemctl start odoo
@@ -237,7 +242,7 @@ Execute the following commands to install Odoo 10.0 Community on your server:
Enterprise
''''''''''
-For Odoo 10.0 Enterprise, get the package from the Download_ page. Then run:
+For Odoo 11.0 Enterprise, get the package from the Download_ page. Then run:
.. code-block:: console
@@ -245,7 +250,7 @@ For Odoo 10.0 Enterprise, get the package from the Download_ page. Then run:
$ sudo postgresql-setup initdb
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
- $ sudo yum localinstall odoo_10.0.latest.noarch.rpm
+ $ sudo yum localinstall odoo_11.0.latest.noarch.rpm
$ sudo systemctl enable odoo
$ sudo systemctl start odoo
@@ -351,18 +356,23 @@ Installing dependencies
Source installation requires manually installing dependencies:
-* Python 2.7.
+* Python 3.5+.
+
+ - on Linux and OS X, using your package manager if not installed by default
+
+ .. note:: on some system, ``python`` command refers to Python 2 (outdated)
+ or to Python 3 (supported). Make sure you are using the right
+ version and that the alias ``python3`` is present in your
+ :envvar:`PATH`
- - on Linux and OS X, included by default
- - on Windows, use `the official Python 2.7.9 installer
+ - on Windows, use `the official Python 3 installer
<https://www.python.org/downloads/windows/>`_.
.. warning:: select "add python.exe to Path" during installation, and
reboot afterwards to ensure the :envvar:`PATH` is updated
- .. note:: if Python is already installed, make sure it is 2.7.9, previous
- versions are less convenient and 3.x versions are not compatible
- with Odoo
+ .. note:: if Python is already installed, make sure it is 3.5 or above,
+ previous versions are not compatible with Odoo.
* PostgreSQL, to use a local database
@@ -442,7 +452,7 @@ Source installation requires manually installing dependencies:
.. code-block:: doscon
C:\> cd \YourOdooPath
- C:\YourOdooPath> C:\Python27\Scripts\pip.exe install -r requirements.txt
+ C:\YourOdooPath> C:\Python35\Scripts\pip.exe install -r requirements.txt
* *Less CSS* via nodejs
@@ -519,7 +529,7 @@ Under Windows a typical way to execute odoo would be:
.. code-block:: doscon
- C:\YourOdooPath> python odoo-bin -w odoo -r odoo --addons-path=addons,../mymodules --db-filter=mydb$
+ C:\YourOdooPath> python3 odoo-bin -w odoo -r odoo --addons-path=addons,../mymodules --db-filter=mydb$
Where ``odoo``, ``odoo`` are the postgresql login and password,
``../mymodules`` a directory with additional addons and ``mydb`` the default
@@ -552,13 +562,11 @@ default db to serve on localhost:8069
.. _pip: https://pip.pypa.io
.. _macports: https://www.macports.org
.. _homebrew: http://brew.sh
-.. _Visual C++ Compiler for Python 2.7:
- http://www.microsoft.com/en-us/download/details.aspx?id=44266
.. _wheels: https://wheel.readthedocs.org/en/latest/
.. _virtual environment: http://docs.python-guide.org/en/latest/dev/virtualenvs/
.. _pywin32: http://sourceforge.net/projects/pywin32/files/pywin32/
.. _the repository: https://github.com/odoo/odoo
.. _git: http://git-scm.com
.. _Editions: https://www.odoo.com/pricing#pricing_table_features
-.. _nightly: https://nightly.odoo.com/10.0/nightly/
+.. _nightly: https://nightly.odoo.com/11.0/nightly/
.. _extra: https://nightly.odoo.com/extra/