Skip to content

Commit 54f1ad5

Browse files
committed
docs: add NixOS installation instructions and localization updates
(cherry picked from commit 6c75659)
1 parent 015118c commit 54f1ad5

3 files changed

Lines changed: 52 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ From [conda-forge](https://anaconda.org/conda-forge/datalab-platform):
7373
conda install -c conda-forge datalab-platform
7474
```
7575

76+
On [NixOS](https://nixos.org/), DataLab is available from the [NGI Forge](https://ngi.nixos.org/app/datalab), packaged by the [Nix@NGI team](https://nixos.org/community/teams/ngi/) (an NLnet partner) as part of DataLab's NGI0 Commons Fund grant.
77+
7678
See the [installation guide](https://datalab-platform.com/en/intro/installation.html) for
7779
more options (standalone installer, WinPython, offline installation, etc.).
7880

doc/intro/installation.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ DataLab is available in several forms:
4747

4848
- As a :ref:`install_conda`.
4949

50+
- :bdg-info-line:`GNU/Linux` :bdg-info-line:`macOS` As a :ref:`install_nixos`, for
51+
users of the `NixOS <https://nixos.org/>`_ ecosystem.
52+
5053
- As a Python package, which can be installed using the :ref:`install_pip`.
5154

5255
- :bdg-info-line:`Windows` As a stand-alone application, which does not require any
@@ -79,6 +82,35 @@ To install ``datalab`` package from the `conda-forge` channel (https://anaconda.
7982
8083
$ conda install conda-forge::datalab
8184
85+
.. _install_nixos:
86+
87+
NixOS package
88+
^^^^^^^^^^^^^
89+
90+
:octicon:`info;1em;sd-text-info` :bdg-info-line:`GNU/Linux` :bdg-info-line:`macOS`
91+
92+
DataLab is packaged for `NixOS <https://nixos.org/>`_ and distributed through the
93+
`NGI Forge <https://ngi.nixos.org/app/datalab>`_, the software distribution system
94+
for projects funded by the `Next Generation Internet (NGI) <https://www.ngi.eu/>`_
95+
initiative. This packaging was contributed by the `Nix@NGI team
96+
<https://nixos.org/community/teams/ngi/>`_, an NLnet partner, as part of DataLab's
97+
funding through the NGI0 Commons Fund.
98+
99+
On any system with `Nix <https://nix.dev/>`_ installed, enter the Nix shell that
100+
provides DataLab (the ready-to-copy command is available on the
101+
`NGI Forge page <https://ngi.nixos.org/app/datalab>`_), then start the desktop
102+
application:
103+
104+
.. code-block:: console
105+
106+
$ datalab
107+
108+
Or, for an automated demonstration of some of DataLab's features:
109+
110+
.. code-block:: console
111+
112+
$ datalab-demo
113+
82114
.. _install_pip:
83115

84116
Package manager ``pip``

doc/locale/fr/LC_MESSAGES/intro/installation.po

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ msgstr "DataLab est disponible sous plusieurs formes :"
6161
msgid "As a :ref:`install_conda`."
6262
msgstr "En tant que :ref:`install_conda`."
6363

64+
msgid ":bdg-info-line:`GNU/Linux` :bdg-info-line:`macOS` As a :ref:`install_nixos`, for users of the `NixOS <https://nixos.org/>`_ ecosystem."
65+
msgstr ":bdg-info-line:`GNU/Linux` :bdg-info-line:`macOS` En tant que :ref:`install_nixos`, pour les utilisateurs de l'écosystème `NixOS <https://nixos.org/>`_."
66+
6467
msgid "As a Python package, which can be installed using the :ref:`install_pip`."
6568
msgstr "Un paquet Python qui peut être installé à l'aide du :ref:`install_pip`."
6669

@@ -88,6 +91,21 @@ msgstr ""
8891
msgid "To install ``datalab`` package from the `conda-forge` channel (https://anaconda.org/conda-forge/datalab), run the following command:"
8992
msgstr "Pour installer le paquet ``datalab`` depuis le canal ``conda-forge`` (https://anaconda.org/conda-forge/datalab), exécutez la commande suivante :"
9093

94+
msgid "NixOS package"
95+
msgstr "Paquet NixOS"
96+
97+
msgid ":octicon:`info;1em;sd-text-info` :bdg-info-line:`GNU/Linux` :bdg-info-line:`macOS`"
98+
msgstr ""
99+
100+
msgid "DataLab is packaged for `NixOS <https://nixos.org/>`_ and distributed through the `NGI Forge <https://ngi.nixos.org/app/datalab>`_, the software distribution system for projects funded by the `Next Generation Internet (NGI) <https://www.ngi.eu/>`_ initiative. This packaging was contributed by the `Nix@NGI team <https://nixos.org/community/teams/ngi/>`_, an NLnet partner, as part of DataLab's funding through the NGI0 Commons Fund."
101+
msgstr "DataLab est packagé pour `NixOS <https://nixos.org/>`_ et distribué via la `NGI Forge <https://ngi.nixos.org/app/datalab>`_, le système de distribution logicielle des projets financés par l'initiative `Next Generation Internet (NGI) <https://www.ngi.eu/>`_. Ce packaging a été réalisé par l'`équipe Nix@NGI <https://nixos.org/community/teams/ngi/>`_, partenaire de NLnet, dans le cadre du financement de DataLab par le NGI0 Commons Fund."
102+
103+
msgid "On any system with `Nix <https://nix.dev/>`_ installed, enter the Nix shell that provides DataLab (the ready-to-copy command is available on the `NGI Forge page <https://ngi.nixos.org/app/datalab>`_), then start the desktop application:"
104+
msgstr "Sur tout système où `Nix <https://nix.dev/>`_ est installé, entrez dans le shell Nix qui fournit DataLab (la commande prête à copier est disponible sur la `page NGI Forge <https://ngi.nixos.org/app/datalab>`_), puis démarrez l'application de bureau :"
105+
106+
msgid "Or, for an automated demonstration of some of DataLab's features:"
107+
msgstr "Ou, pour une démonstration automatisée de certaines fonctionnalités de DataLab :"
108+
91109
msgid "Package manager ``pip``"
92110
msgstr "Gestionnaire de paquets ``pip``"
93111

@@ -441,4 +459,3 @@ msgstr ""
441459

442460
msgid "Python 3.11 and PyQt5 are the reference for production release"
443461
msgstr "Python 3.11 et PyQt5 sont les références pour la version de production"
444-

0 commit comments

Comments
 (0)