Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions admin/console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ a shell (e.g. for automation).

.. tabs::

.. tab:: Docker Installation
.. group-tab:: Docker Installation

.. code-block:: console

$ docker compose run --rm zammad-railsserver bundle exec rails r '{COMMAND}'

.. tab:: Package Installation
.. group-tab:: Package Installation

.. code-block:: console

$ zammad run rails r '{COMMAND}'

.. tab:: Source/Development Installation
.. group-tab:: Source/Development Installation

.. code-block:: console

Expand All @@ -61,7 +61,7 @@ It allows you to run several commands inside it.

.. tabs::

.. tab:: Docker Installation
.. group-tab:: Docker Installation

.. code-block:: console

Expand All @@ -71,13 +71,13 @@ It allows you to run several commands inside it.
you can even use a
:ref:`console via Portainer's GUI <docker-run-commands>`.

.. tab:: Package Installation
.. group-tab:: Package Installation

.. code-block:: console

$ zammad run rails c

.. tab:: Source/Development Installation
.. group-tab:: Source/Development Installation

.. code-block:: console

Expand All @@ -100,7 +100,6 @@ It allows you to run several commands inside it.

.. tab:: Package Installation


.. code-block:: console

$ ZAMMAD_SAFE_MODE=1 zammad run rails c
Expand Down
16 changes: 8 additions & 8 deletions appendix/migrate-to-postgresql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Install PostgreSQL

.. tabs::

.. tab:: Ubuntu / Debian
.. group-tab:: Ubuntu / Debian

.. code-block:: console

Expand All @@ -48,7 +48,7 @@ Install PostgreSQL

$ sudo systemctl enable postgresql

.. tab:: CentOS
.. group-tab:: CentOS

.. code-block:: console

Expand All @@ -67,7 +67,7 @@ Install PostgreSQL

$ sudo systemctl enable postgresql

.. tab:: OpenSUSE / SLES
.. group-tab:: OpenSUSE / SLES

.. code-block:: console

Expand Down Expand Up @@ -98,7 +98,7 @@ Install pgloader

.. tabs::

.. tab:: Ubuntu / Debian
.. group-tab:: Ubuntu / Debian

.. code-block:: console

Expand All @@ -108,13 +108,13 @@ Install pgloader

$ sudo apt install pgloader

.. tab:: CentOS
.. group-tab:: CentOS

.. code-block:: console

$ sudo yum install -y pgloader

.. tab:: OpenSUSE / SLES
.. group-tab:: OpenSUSE / SLES

.. code-block:: console

Expand Down Expand Up @@ -178,15 +178,15 @@ Migrate

.. tabs::

.. tab:: Dry run
.. group-tab:: Dry run

You can check your configuration by running pgloader in a dry run first:

.. code-block:: console

$ pgloader --dry-run /tmp/pgloader-command

.. tab:: Actual run
.. group-tab:: Actual run

Once you are ready and setup you can start the actual migration:

Expand Down
2 changes: 1 addition & 1 deletion install/elasticsearch/install-elasticsearch-7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Installation

.. tabs::

.. tab:: Ubuntu/Debian
.. tab:: Ubuntu / Debian

.. code-block:: console

Expand Down
18 changes: 9 additions & 9 deletions install/elasticsearch/install-elasticsearch-9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Download and Add the Public Signing Key

.. tabs::

.. tab:: Ubuntu/Debian
.. group-tab:: Ubuntu / Debian

Install required tools:

Expand All @@ -32,13 +32,13 @@ Download and Add the Public Signing Key
gpg --dearmor | sudo tee /usr/share/keyrings/elasticsearch-keyring.gpg \
&& sudo chmod 644 /usr/share/keyrings/elasticsearch-keyring.gpg

.. tab:: OpenSUSE/SLES
.. group-tab:: OpenSUSE / SLES

.. code-block:: console

$ rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

.. tab:: CentOS/RHEL
.. group-tab:: CentOS / RHEL

.. code-block:: console

Expand All @@ -50,13 +50,13 @@ Add the Repository

.. tabs::

.. tab:: Ubuntu/Debian
.. group-tab:: Ubuntu / Debian

.. code-block:: console

$ echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/9.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-9.x.list

.. tab:: OpenSUSE/SLES
.. group-tab:: OpenSUSE / SLES

Create the file ``/etc/zypp/repos.d/elasticsearch.repo`` and add:

Expand All @@ -71,7 +71,7 @@ Add the Repository
autorefresh=1
type=rpm-md

.. tab:: CentOS/RHEL
.. group-tab:: CentOS / RHEL

Create the file ``/etc/yum.repos.d/elasticsearch.repo`` and add:

Expand All @@ -90,21 +90,21 @@ Install Elasticsearch

.. tabs::

.. tab:: Ubuntu/Debian
.. group-tab:: Ubuntu / Debian

.. code-block:: console

$ sudo apt-get update && sudo apt-get install elasticsearch

.. tab:: OpenSUSE/SLES
.. group-tab:: OpenSUSE / SLES

.. code-block:: console

$ sudo zypper modifyrepo --enable elasticsearch && \
sudo zypper install elasticsearch; \
sudo zypper modifyrepo --disable elasticsearch

.. tab:: CentOS/RHEL
.. group-tab:: CentOS / RHEL

CentOS and RHEL 7 or earlier:

Expand Down
Loading