diff -r 000000000000 -r fce4cae19357 setup.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.rst Mon Jan 29 11:07:31 2024 +0000 @@ -0,0 +1,67 @@ +============ +Installation +============ + +The handling of packages and the virtual environment is managed by poetry. + +Installation on production system as user +----------------------------------------- + +system requirements: pip, python3 + +1) install poetry + +.. code:: console + + $ python -mpip install --user poetry + + +2) set , where poetry puts the virtual environment + +.. code:: console + + $ poetry config virtualenvs.path + +3) on slackware, it is necessary to set poetry installer type + +.. code:: console + + $ poetry config experimental.new-installer false + +4) download project from the repository + +.. code:: console + + repository + +5) create new poetry project + +.. code:: console + + $ poetry new eldamwl_plot + +7) install eldamwl_plot + +.. code:: console + + $ poetry install + +8) activate virtual environment + +.. code:: console + + $ poetry shell + +check whether installation was successfull +----------------------------------------- + +.. code:: console + + $ poetry shell + $ eldamwl_plot -h + +or + +.. code:: console + + $ poetry run eldamwl_plot -h