Mercurial > libervia-backend
comparison doc/installation.rst @ 4257:810f2b80146b
doc (installation): use `[all]` in extra arguments.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 Jun 2024 22:24:18 +0200 |
parents | 3f59a2b141cc |
children |
comparison
equal
deleted
inserted
replaced
4256:c14e904eee13 | 4257:810f2b80146b |
---|---|
46 If you have `pipx`_ installed, you can easily install the development version of the | 46 If you have `pipx`_ installed, you can easily install the development version of the |
47 backend by entering the following command: | 47 backend by entering the following command: |
48 | 48 |
49 .. code-block:: bash | 49 .. code-block:: bash |
50 | 50 |
51 $ pipx install --system-site-packages hg+https://repos.goffi.org/libervia-backend#egg=libervia-backend[SVG] | 51 $ pipx install --system-site-packages hg+https://repos.goffi.org/libervia-backend#egg=libervia-backend[all] |
52 | 52 |
53 Installation With Virtual Environment And pip | 53 Installation With Virtual Environment And pip |
54 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 54 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
55 | 55 |
56 Alternatively, you can install a virtual environment, clone the repository, and pip | 56 Alternatively, you can install a virtual environment, clone the repository, and pip |
58 | 58 |
59 Go in a location where you can install Libervia, for instance your home directory:: | 59 Go in a location where you can install Libervia, for instance your home directory:: |
60 | 60 |
61 $ cd | 61 $ cd |
62 | 62 |
63 And enter the following commands (here we install Libervia with SVG support, which is needed to | 63 And enter the following commands (here we install Libervia with all extra dependencies |
64 display SVG avatars on some frontends):: | 64 support, i.e. will dependencies needed for optional features):: |
65 | 65 |
66 $ python3 -m venv --system-site-packages libervia | 66 $ python3 -m venv --system-site-packages libervia |
67 $ source libervia/bin/activate | 67 $ source libervia/bin/activate |
68 $ pip install -U pip wheel | 68 $ pip install -U pip wheel |
69 $ hg clone https://repos.goffi.org/libervia-backend | 69 $ hg clone https://repos.goffi.org/libervia-backend |