Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion content/administration/odoo_sh/advanced/containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,6 @@ Save the file and then run the Odoo Shell:
Finally, *via* the Odoo Shell, you can trigger the piece of code/function/method
you want to debug.

.. image:: ./media/pdb_sh.png
.. image:: containers/pdb_sh.png
:align: center
:alt: Console screenshot showing ``pdb`` running in an Odoo.sh shell.
6 changes: 3 additions & 3 deletions content/administration/odoo_sh/advanced/submodules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ On Odoo.sh, in the branches view of your project, choose the branch in which you

In the upper right corner, click on the *Submodule* button, and then on *Run*.

.. image:: ./media/advanced-submodules-button.png
.. image:: submodules/advanced-submodules-button.png
:align: center

A dialog with a form is shown. Fill the inputs as follows:
Expand All @@ -53,12 +53,12 @@ A dialog with a form is shown. Fill the inputs as follows:
* Branch: The branch you want to use.
* Path: The folder in which you want to add this submodule in your branch.

.. image:: ./media/advanced-submodules-dialog.png
.. image:: submodules/advanced-submodules-dialog.png
:align: center

On Github, you can get the repository URL with the *Clone or download* button of the repository. Make sure to *use SSH*.

.. image:: ./media/advanced-submodules-github-sshurl.png
.. image:: submodules/advanced-submodules-github-sshurl.png
:align: center

.. _odoosh-advanced-submodules-withgit:
Expand Down
32 changes: 16 additions & 16 deletions content/administration/odoo_sh/getting_started/branches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Overview

The branches view gives you an overview of the different branches your repository has.

.. image:: ./media/interface-branches.png
.. image:: branches/interface-branches.png
:align: center

.. _odoosh-gettingstarted-branches-stages:
Expand All @@ -20,7 +20,7 @@ Odoo.sh offers three different stages for your branches: production, staging and

You can change the stage of a branch by drag and dropping it into the stage section title.

.. image:: ./media/interface-branches-stagechange.png
.. image:: branches/interface-branches-stagechange.png
:align: center

.. _stage_production:
Expand Down Expand Up @@ -109,7 +109,7 @@ Merging your branches
---------------------
You can merge your branches easily by drag and dropping them into each other.

.. image:: ./media/interface-branches-merge.png
.. image:: branches/interface-branches-merge.png
:align: center

When you want to test the changes of your development branches with the production data,
Expand Down Expand Up @@ -156,7 +156,7 @@ An overview of your branch history:
* The messages of the commits and their authors,
* The various events linked to the platform, such as stage changes, database imports, backup restores.

.. image:: ./media/interface-branches-history.png
.. image:: branches/interface-branches-history.png
:align: center

For each event, a status is displayed in the top right-hand corner.
Expand All @@ -172,7 +172,7 @@ This tab contains the mail catcher. It displays an overview of the emails sent b
The mail catcher is available for your development and
staging branches as the emails of your production database are really sent instead of being intercepted.

.. image:: ./media/interface-branches-mails.png
.. image:: branches/interface-branches-mails.png
:align: center
:scale: 50%

Expand All @@ -181,7 +181,7 @@ Shell
A shell access to your container. You can perform basic linux commands (:code:`ls`, :code:`top`)
and open a shell on your database by typing :code:`psql`.

.. image:: ./media/interface-branches-shell.png
.. image:: branches/interface-branches-shell.png
:align: center

You can open multiple tabs and drag-and-drop them to arrange the layout as you wish,
Expand All @@ -197,7 +197,7 @@ Editor
An online integrated development environment (IDE) to edit the source code.
You can also open terminals, Python consoles and even Odoo Shell consoles.

.. image:: ./media/interface-branches-editor.png
.. image:: branches/interface-branches-editor.png
:align: center

You can open multiple tabs and drag-and-drop them to arrange the layout as you wish,
Expand All @@ -207,7 +207,7 @@ Monitoring
----------
This link contains various monitoring metrics of the current build.

.. image:: ./media/interface-branches-monitoring.png
.. image:: branches/interface-branches-monitoring.png
:align: center

You can zoom, change the time range or select a specific metric on each graph.
Expand All @@ -219,7 +219,7 @@ Logs
----
A viewer to have a look to your server logs.

.. image:: ./media/interface-branches-logs.png
.. image:: branches/interface-branches-logs.png
:align: center

Different logs are available:
Expand All @@ -243,7 +243,7 @@ Backups
A list of the backups available for download and restore, the ability to perform a manual backup and to import a
database.

.. image:: ./media/interface-branches-backups.png
.. image:: branches/interface-branches-backups.png
:align: center

Odoo.sh makes daily backups of the production database. It keeps 7 daily, 4 weekly and 3 monthly backups.
Expand Down Expand Up @@ -285,7 +285,7 @@ Settings
--------
Here you can find a couple of settings that only apply to the currently selected branch.

.. image:: ./media/interface-branches-settings.jpg
.. image:: branches/interface-branches-settings.jpg
:align: center

**Behaviour upon new commit**
Expand All @@ -302,7 +302,7 @@ back from staging to development will automatically be set to 'Do nothing'.

Choose the modules to install automatically for your development builds.

.. image:: ./media/interface-settings-modulesinstallation.png
.. image:: branches/interface-settings-modulesinstallation.png
:align: center

* *Install only my modules* will install the modules of the branch only. This is the default option.
Expand Down Expand Up @@ -397,7 +397,7 @@ Shell commands
==============
In the top right-hand corner of the view, different shell commands are available.

.. image:: ./media/interface-branches-shellcommands.png
.. image:: branches/interface-branches-shellcommands.png
:align: center

Each command can be copied in the clipboard to be used in a terminal,
Expand Down Expand Up @@ -466,12 +466,12 @@ To do so, follow these steps:
(only apply the step 1)
#. Paste the copied content to your profile SSH keys and press "Add"

.. image:: ./media/SSH-key-pasting.png
.. image:: branches/SSH-key-pasting.png
:align: center

#. The key should appear below

.. image:: ./media/SSH-key-appearing.png
.. image:: branches/SSH-key-appearing.png
:align: center

Connection
Expand All @@ -485,7 +485,7 @@ To connect to your builds using ssh use the following command in a terminal:

You will find a shortcut for this command into the SSH tab in the upper right corner.

.. image:: ./media/SSH-panel.png
.. image:: branches/SSH-panel.png
:align: center

Provided you have the :ref:`correct access rights <odoosh-gettingstarted-settings-collaborators>` on the project,
Expand Down
8 changes: 4 additions & 4 deletions content/administration/odoo_sh/getting_started/builds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In Odoo.sh, a build is considered as a database loaded by an Odoo server
running on a specific revision of your project repository in a containerized environment.
Its purpose is to test the well-behavior of the server, the database and the features with this revision.

.. image:: ./media/interface-builds.png
.. image:: builds/interface-builds.png
:align: center

In this view, a row represents a branch, and a cell of a row represents a build of this branch.
Expand Down Expand Up @@ -95,15 +95,15 @@ Features
The production branch will always appear first,
and then the other branches are ordered by last build created. You can filter out the branches.

.. image:: ./media/interface-builds-branches.png
.. image:: builds/interface-builds-branches.png
:align: center

For each branch, you can access the last build's database using the *Connect* link and jump to the branch code using
the *Github* link. For other branches than the production, you can create a new build which will use the latest revision
of the branch using the link *rebuild*. This last link is not available when there is already a build in progress for
the branch.

.. image:: ./media/interface-builds-build.png
.. image:: builds/interface-builds-build.png
:align: center

For each build, you can access the revision changes using the button with the Github icon.
Expand All @@ -113,7 +113,7 @@ in the dropdown menu of the *Connect* button.

.. _odoosh-gettingstarted-builds-download-dump:

.. image:: ./media/interface-builds-build-dropdown.png
.. image:: builds/interface-builds-build-dropdown.png
:align: center

.. _odoosh-gettingstarted-builds-dropdown-menu:
Expand Down
20 changes: 10 additions & 10 deletions content/administration/odoo_sh/getting_started/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ Deploy your platform

Go to `Odoo.sh <https://www.odoo.sh/>`_ and hit the *Deploy your platform* button.

.. image:: ./media/deploy.png
.. image:: create/deploy.png
:align: center

Sign in with Github
===================

Sign in with your Github account. If you do not have an account yet, hit the *Create an account* link.

.. image:: ./media/github-signin.png
.. image:: create/github-signin.png
:align: center

Authorize Odoo.sh
=================

Grant Odoo.sh the required accesses to your account by clicking the *Authorize* button.

.. image:: ./media/github-authorize.png
.. image:: create/github-authorize.png
:align: center

Odoo.sh basically needs:
Expand Down Expand Up @@ -62,15 +62,15 @@ When submitting the form, if you are notified your subscription is not valid, it

In case of doubt with your subscription, please contact the `Odoo support <https://www.odoo.com/help>`_.

.. image:: ./media/deploy-form.png
.. image:: create/deploy-form.png
:align: center

You're done !
=============

You can start using Odoo.sh. Your first build is about to be created. You will soon be able to connect to your first database.

.. image:: ./media/deploy-done.png
.. image:: create/deploy-done.png
:align: center

.. _odoo_sh_import_your_database:
Expand Down Expand Up @@ -113,20 +113,20 @@ Access the URL :file:`/web/database/manager` of your on-premise database and dow

You will need the master password of your database server. If you do not have it, contact your system administrator.

.. image:: ./media/create-import-onpremise-backup.png
.. image:: create/create-import-onpremise-backup.png
:align: center

Choose a zip including the filestore as the backup format.

.. image:: ./media/create-import-onpremise-backup-dialog.png
.. image:: create/create-import-onpremise-backup-dialog.png
:align: center

Odoo Online databases
~~~~~~~~~~~~~~~~~~~~~

`Access your databases manager <https://accounts.odoo.com/my/databases/manage>`_ and download a backup of your database.

.. image:: ./media/create-import-online-backup.png
.. image:: create/create-import-online-backup.png
:align: center

.. Warning::
Expand All @@ -138,12 +138,12 @@ Upload the backup

Then, in your Odoo.sh project, in the backups tab of your production branch, import the backup you just downloaded.

.. image:: ./media/create-import-production.png
.. image:: create/create-import-production.png
:align: center

Once the backup imported, you can access the database using the *Connect* button in the history of the branch.

.. image:: ./media/create-import-production-done.png
.. image:: create/create-import-production-done.png
:align: center

Check your outgoing email servers
Expand Down
Loading